summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-09-16 04:58:43 +0200
committerMichał Górny <mgorny@gentoo.org>2023-09-16 05:03:14 +0200
commit24544088ccfed49615e67ac6834dd30fe0893e1b (patch)
tree0fd870ae91b3dfa27df5f8f22de669932447d5a9 /dev-python/pyupgrade
parentdev-python/identify: Bump to 2.5.29 (diff)
downloadgentoo-24544088ccfed49615e67ac6834dd30fe0893e1b.tar.gz
gentoo-24544088ccfed49615e67ac6834dd30fe0893e1b.tar.bz2
gentoo-24544088ccfed49615e67ac6834dd30fe0893e1b.zip
dev-python/pyupgrade: Bump to 3.11.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyupgrade')
-rw-r--r--dev-python/pyupgrade/Manifest1
-rw-r--r--dev-python/pyupgrade/pyupgrade-3.11.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
index 0fd7f118e446..331718c809b6 100644
--- a/dev-python/pyupgrade/Manifest
+++ b/dev-python/pyupgrade/Manifest
@@ -1,2 +1,3 @@
DIST pyupgrade-3.10.1.gh.tar.gz 63457 BLAKE2B 54c3105b4e84025e8204b29abeaec813e7959f21bfe1d4d5dfef4caae355885a4be0459685b05eb38266ec4bd14f1736304c404f14c909f51bb554e249f9906c SHA512 47579a1116a56f64dc190956ce708a4a99ae93bdc446a060b2a6418b026ff249d53dc98a5e5153203af2f00f6a1335bc66908e1ae8ead1ad957edf35854cfa8c
+DIST pyupgrade-3.11.0.gh.tar.gz 63238 BLAKE2B 111a42604989ee6c3ae62b35009bbee9477e8cf8978f4e7575290cdb6aaac8f55cbca0d629ea0358571869f619f2ede055447cc127eb02e6496047f0b828fb0a SHA512 d2bdf2ce1e694c87f2f8fe9ef8db1da031efe469bd8692e639189952467b19d17d62b2ec61bdd5864ccabf88f33b3cbab573ae83c6c6ad607b52806f6d007c50
DIST pyupgrade-3.9.0.gh.tar.gz 63231 BLAKE2B 5b8bcba1d5f20379a2fe12df3f515222ccf05a67c6666c9de9caddc2f667010eec296f5c64354dbd56170a94f3cba00e0556f34c5f0cc2ffcc4e3a289790d24f SHA512 572f5b30ce18d86ed2e0cae102cc05940e58be325e0dffb4d5c23e7ed377e497d74c01f44d2bf32a18d04eaed282df5007f5f9eea5633fc46f196c63a6fcc134
diff --git a/dev-python/pyupgrade/pyupgrade-3.11.0.ebuild b/dev-python/pyupgrade/pyupgrade-3.11.0.ebuild
new file mode 100644
index 000000000000..19a841ef7eff
--- /dev/null
+++ b/dev-python/pyupgrade/pyupgrade-3.11.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2023 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