summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-26 12:16:24 +0200
committerMichał Górny <mgorny@gentoo.org>2022-09-26 12:30:49 +0200
commit9a10be2e9a1b330c55cfede50d8cb8073fd2cc67 (patch)
treefaadcc98fa37f71340b9734838b8f59c052f7c5c /dev-python/pyupgrade
parentdev-python/css-parser: Bump to 1.0.8 (diff)
downloadgentoo-9a10be2e9a1b330c55cfede50d8cb8073fd2cc67.tar.gz
gentoo-9a10be2e9a1b330c55cfede50d8cb8073fd2cc67.tar.bz2
gentoo-9a10be2e9a1b330c55cfede50d8cb8073fd2cc67.zip
dev-python/pyupgrade: Bump to 2.38.2
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-2.38.2.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
index 219934dcd06e..d3175cc06615 100644
--- a/dev-python/pyupgrade/Manifest
+++ b/dev-python/pyupgrade/Manifest
@@ -1,2 +1,3 @@
DIST pyupgrade-2.38.0.gh.tar.gz 63620 BLAKE2B 73f551e92a6d68e0e1e2b1f21a3afd0f26ece7889450135fe7c68ad3ce094799cba669547965ff3c5589f1e667568e8dcf60709e8d1b3699fd36680494b79f96 SHA512 c65534c59f1810730cd039375678c648565023e1fbb03df4bd14846be95757b33d712c51197f54009e907da647a04700dd8d8ff1094188ef7ba0dbf2352084cf
DIST pyupgrade-2.38.1.gh.tar.gz 63637 BLAKE2B 348346d82f85c8df4edfaf2b09e8e519b5ee1d895920a896ae4c0a23f0af0da338ec2c1c2d2c175977da725313b4b5ace6ced65a3a54f5722146f35986485a9c SHA512 056e9886a8bacaf58d74461a7cbce8b7e67392b6758a7e42363404b4822df837067a7a2ec5da6a97411ce8297955ff260901f95b17d1a9e84835bce755071fca
+DIST pyupgrade-2.38.2.gh.tar.gz 64004 BLAKE2B 4d5456173d7202749e87726f5547f8f406ab226e2258d78393f10e1ee8129835a65272ee12c95d3d71139f57982c240c38d67353153af43dfa30a8dc7e4147e0 SHA512 e7184539f9e4c8090be02ba1fef1288564e7f8860457345b3305c06391962491af04497e5fe14297fb9c90a6e7e4de1f07a39235a5358188f5f5fa035ab7eb1b
diff --git a/dev-python/pyupgrade/pyupgrade-2.38.2.ebuild b/dev-python/pyupgrade/pyupgrade-2.38.2.ebuild
new file mode 100644
index 000000000000..02368726bb1d
--- /dev/null
+++ b/dev-python/pyupgrade/pyupgrade-2.38.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+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/
+"
+SRC_URI="
+ https://github.com/asottile/pyupgrade/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/tokenize-rt[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest