commit: 5abf8308bdb1a748021dd6f97fae66bd122023f9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 04:00:02 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 04:10:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5abf8308
dev-python/pyupgrade: Bump to 3.15.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyupgrade/Manifest | 1 +
dev-python/pyupgrade/pyupgrade-3.15.1.ebuild | 30 ++++++++++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
index ce538270a23d..90402f751544 100644
--- a/dev-python/pyupgrade/Manifest
+++ b/dev-python/pyupgrade/Manifest
@@ -1 +1,2 @@
DIST pyupgrade-3.15.0.gh.tar.gz 65317 BLAKE2B
a13eca9d5591068355722e0cd0d16debce7c4d55fbce2759af9f0154cf5591beca20bc7e4551d6d707ef63deccf142e639229fb052063be68921c435731dd5ef
SHA512
58bde84c625898ded781b4bb0cf8409ad406f81fe4f4f1819bc261714928dd6b9bb2063cd12697ce17a20dc7a56426685ba02b8ef3e306023e109277d2da2205
+DIST pyupgrade-3.15.1.gh.tar.gz 65432 BLAKE2B
2978745edcbbcc3aee5abb14c2b509a3912d1932401e8957e04d0491fa0e6b01521317ef62b6486f80835715f09254e6bb39c6482c2155e8986580c146ad06ca
SHA512
5946cd03231e9c56543ac2f1dc4a84c0a4dc8cb44b0f88983a0a02f190a20615e2c2e4b22d8b3ec0d4728482464fe4f87bbd90514e11230776a1d67540170e91
diff --git a/dev-python/pyupgrade/pyupgrade-3.15.1.ebuild
b/dev-python/pyupgrade/pyupgrade-3.15.1.ebuild
new file mode 100644
index 000000000000..127ff6fc4c1d
--- /dev/null
+++ b/dev-python/pyupgrade/pyupgrade-3.15.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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-5.2.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest