summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-11-11 15:10:01 +0100
committerMichał Górny <mgorny@gentoo.org>2022-11-11 15:31:50 +0100
commitd0038817260e832294c415cb031a1da4c1bad8a9 (patch)
treed7f077f9ce9f20f9ed79a09a9121b663b8dde90d /dev-python
parentdev-python/jupyter_client: Bump to 7.4.5 (diff)
downloadgentoo-d0038817260e832294c415cb031a1da4c1bad8a9.tar.gz
gentoo-d0038817260e832294c415cb031a1da4c1bad8a9.tar.bz2
gentoo-d0038817260e832294c415cb031a1da4c1bad8a9.zip
dev-python/pyupgrade: Bump to 3.2.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyupgrade/Manifest1
-rw-r--r--dev-python/pyupgrade/pyupgrade-3.2.2.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
index af3acc3d2bff..470b2f770361 100644
--- a/dev-python/pyupgrade/Manifest
+++ b/dev-python/pyupgrade/Manifest
@@ -1,2 +1,3 @@
DIST pyupgrade-3.1.0.gh.tar.gz 62086 BLAKE2B 0a5eccb457591e719e132bfa2444c8587a81a731505f9f848755e72c25bf8addf152ea6f3845fa071fb836c521279934533f58717b261041c700b3b51305f7ec SHA512 b63ced8efe7d76fa40f6f8ccf0f922eec1967098b770ff3a5cdc67a3bf3a057900c592bb041500f8f78f2df782c7b90ab8c453591c8b45d3d2d073f00e8bdae1
DIST pyupgrade-3.2.0.gh.tar.gz 62618 BLAKE2B 2cc9525947d745f04df4a68e61e639f6ac4fe055da43e0a6dcc028bd186d3e7b77ec349f1570f88b7e7460090f4dd5755c95fc9b97f74487404ed2106b65b0e4 SHA512 86dd5439d63bc767d7c3e9898fac0dd9e129d298b0f46632a462cd55044f291f57bdc2f1fd7336ab17e51cac293e5918bc1d18cbb439a1596d15d1f457e194a1
+DIST pyupgrade-3.2.2.gh.tar.gz 62261 BLAKE2B 8a34b01c3eacb004c73a56f4437223ddbb4ddbaed7dcb03f532f877954abcf589739c1a4afadd7b14db6b120039bead6dba551b59cb03e94a99d18bb9f503f45 SHA512 1586dd38eff08ee0a0fb4d8db77593d965d5f675893a6cd23e6de7bf966d2f087013c1deeeab47e88af9162929d6ee110d29cf00041189c9715c2395c1b3798b
diff --git a/dev-python/pyupgrade/pyupgrade-3.2.2.ebuild b/dev-python/pyupgrade/pyupgrade-3.2.2.ebuild
new file mode 100644
index 000000000000..02368726bb1d
--- /dev/null
+++ b/dev-python/pyupgrade/pyupgrade-3.2.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