From 02fa5b43d336c0e26f03310f37a61414f1386ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 24 May 2025 06:39:28 +0200 Subject: [PATCH] dev-python/pyupgrade: Bump to 3.20.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pyupgrade/Manifest | 1 + dev-python/pyupgrade/pyupgrade-3.20.0.ebuild | 30 ++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 dev-python/pyupgrade/pyupgrade-3.20.0.ebuild diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest index 242aaee6b1b09..172643d88bce1 100644 --- a/dev-python/pyupgrade/Manifest +++ b/dev-python/pyupgrade/Manifest @@ -1 +1,2 @@ DIST pyupgrade-3.19.1.gh.tar.gz 66379 BLAKE2B 393bf5343e1ca004474d3a0d3e7866fe9a5a9d0a346a375451130c925b9b0a11808e629340d0a1ca69da772ea30f161629974b80cfcbd6e0a3cb086694bb9432 SHA512 383cf36c5efd1e195de58695493ca4b6ce0e55d852cca1605e9a7d1e96812faae871ced1fb6ea1f44390b631eab8cc5d07100645df64cee0d22c35faf10c6f12 +DIST pyupgrade-3.20.0.gh.tar.gz 66442 BLAKE2B d03984ba30d5e5eb1c46dba2384ef476ed7bfa41ef7a372d9ff0bf49568c96f07ef596c25f20b06833c17eace00b605c5ba282b013b35b6d7847b30a786f9889 SHA512 e9ed4663aa8fb3ddc77441b569f8f4da17ad6d4493a401d56be353b3b5c04826fd38091a6ef14afa4e1b91889af1e366c15eb7f583ccf2bdcebcf864c18ed819 diff --git a/dev-python/pyupgrade/pyupgrade-3.20.0.ebuild b/dev-python/pyupgrade/pyupgrade-3.20.0.ebuild new file mode 100644 index 0000000000000..4ca2e9843fc6b --- /dev/null +++ b/dev-python/pyupgrade/pyupgrade-3.20.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +DESCRIPTION="Tool + pre-commit hook to automatically upgrade syntax for newer Pythons" +HOMEPAGE=" + https://github.com/asottile/pyupgrade/ + https://pypi.org/project/pyupgrade/ +" +# no tests in sdist, as of 3.3.2 +SRC_URI=" + https://github.com/asottile/pyupgrade/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/tokenize-rt-6.1.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest