commit: a31fdcc4458f893970f78eecbefba1c0221825a6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 9 03:16:27 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 9 03:36:46 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a31fdcc4
dev-python/pyupgrade: Bump to 3.21.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyupgrade/Manifest | 1 +
dev-python/pyupgrade/pyupgrade-3.21.1.ebuild | 31 ++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
index aac7d8d5671c..de521b0538c7 100644
--- a/dev-python/pyupgrade/Manifest
+++ b/dev-python/pyupgrade/Manifest
@@ -1,2 +1,3 @@
DIST pyupgrade-3.20.0.gh.tar.gz 66442 BLAKE2B
d03984ba30d5e5eb1c46dba2384ef476ed7bfa41ef7a372d9ff0bf49568c96f07ef596c25f20b06833c17eace00b605c5ba282b013b35b6d7847b30a786f9889
SHA512
e9ed4663aa8fb3ddc77441b569f8f4da17ad6d4493a401d56be353b3b5c04826fd38091a6ef14afa4e1b91889af1e366c15eb7f583ccf2bdcebcf864c18ed819
DIST pyupgrade-3.21.0.gh.tar.gz 66794 BLAKE2B
6c1588e0e5763f8adcdff74ee675549696b4a2e539afffad093e2221a493a813fbb486aada00bae6a58b03ae22b699fbe01149334c71ee9b7b04a7889be780c8
SHA512
007c93846e869c9a803558e2e73463af48c4ff79cd844e1ccd3745cef958ae85623de8c0f4344e42acd5ae72248fe1ef729df436e5aefa7624ae42af6e7f1f27
+DIST pyupgrade-3.21.1.gh.tar.gz 66869 BLAKE2B
074b4d49c28d94909de9fdb97d1193c74a61849cf8871bd0b4fe788bbcde19c1a52af4dac88143f864d866032bc49d58655b2b663a3926140cfd5ce6e0d58877
SHA512
9ae7e87a7734cd0f5651d4d2c8fbe7fcdeb14d24aa36176df7176fc9d1f19ffde549f2e74a0ddde6d4559804a20e0223f153139312101ff5cc7e810668fea846
diff --git a/dev-python/pyupgrade/pyupgrade-3.21.1.ebuild
b/dev-python/pyupgrade/pyupgrade-3.21.1.ebuild
new file mode 100644
index 000000000000..22fd806d7195
--- /dev/null
+++ b/dev-python/pyupgrade/pyupgrade-3.21.1.ebuild
@@ -0,0 +1,31 @@
+# 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..14} )
+
+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}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest