summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-11-29 21:57:36 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-11-29 22:18:15 +0200
commit53d94db69dc0fef112a5fa0c865f5b6708ea9a34 (patch)
tree2e427c262f2e3a6b2831c53202fa27ff3cbe5e1d /dev-python/pyupgrade
parentdev-libs/libxml2: add workaround patch for itstool breakage (diff)
downloadgentoo-53d94db69dc0fef112a5fa0c865f5b6708ea9a34.tar.gz
gentoo-53d94db69dc0fef112a5fa0c865f5b6708ea9a34.tar.bz2
gentoo-53d94db69dc0fef112a5fa0c865f5b6708ea9a34.zip
dev-python/pyupgrade: add 3.2.3
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pyupgrade')
-rw-r--r--dev-python/pyupgrade/Manifest1
-rw-r--r--dev-python/pyupgrade/pyupgrade-3.2.3.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
index e8ab1efeff62..f260a571ce50 100644
--- a/dev-python/pyupgrade/Manifest
+++ b/dev-python/pyupgrade/Manifest
@@ -1 +1,2 @@
DIST pyupgrade-3.2.2.gh.tar.gz 62261 BLAKE2B 8a34b01c3eacb004c73a56f4437223ddbb4ddbaed7dcb03f532f877954abcf589739c1a4afadd7b14db6b120039bead6dba551b59cb03e94a99d18bb9f503f45 SHA512 1586dd38eff08ee0a0fb4d8db77593d965d5f675893a6cd23e6de7bf966d2f087013c1deeeab47e88af9162929d6ee110d29cf00041189c9715c2395c1b3798b
+DIST pyupgrade-3.2.3.gh.tar.gz 62349 BLAKE2B 5e698f25ad846503e562219a192841912c4581cdd3b663b3b982d7923b774b63cd2ab8666b25c6c2945bd3a823fb3138f795829cda2f2e3f8046a2f882061dde SHA512 14dc0856a035a14cca7250ee99b7c001ad39cfd648ea04900e266d611ab7fe89bff6f678c14df4f43dd264146116c5a4190167b6c74506bc82c46b80863372c9
diff --git a/dev-python/pyupgrade/pyupgrade-3.2.3.ebuild b/dev-python/pyupgrade/pyupgrade-3.2.3.ebuild
new file mode 100644
index 000000000000..02368726bb1d
--- /dev/null
+++ b/dev-python/pyupgrade/pyupgrade-3.2.3.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