summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-09 05:07:48 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-09 05:26:43 +0200
commit77fae43854c01b16a400e476c43c0f10480c3d33 (patch)
tree18f342db342b210f141ff0ef4dfe1d91e860528b /dev-python/pyupgrade
parentdev-python/hypercorn: Bump to 0.14.4 (diff)
downloadgentoo-77fae43854c01b16a400e476c43c0f10480c3d33.tar.gz
gentoo-77fae43854c01b16a400e476c43c0f10480c3d33.tar.bz2
gentoo-77fae43854c01b16a400e476c43c0f10480c3d33.zip
dev-python/pyupgrade: Bump to 3.9.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.9.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
index 3ff009be94ea..dc4b12ac1b63 100644
--- a/dev-python/pyupgrade/Manifest
+++ b/dev-python/pyupgrade/Manifest
@@ -4,3 +4,4 @@ DIST pyupgrade-3.4.0.gh.tar.gz 62408 BLAKE2B a816cea1e2b17790312d4e17ec972a1e09a
DIST pyupgrade-3.6.0.gh.tar.gz 62595 BLAKE2B a6622985e4b26bfb55cdeebd2323bd912289399bffa167b7d4ac1d16c11072b9b58793193febed31838d72691f3c6882914cd7005391f477a2ca6c78b808a33d SHA512 15b3ea59e0afbd5da0c2e7d60ed938d418107eb99cae7d2a5059fcea3f3ea69f451fed962cbdbb40655c39911c92f21bb9ace55f9b1bc65be2f8870b5b48acb8
DIST pyupgrade-3.7.0.gh.tar.gz 62560 BLAKE2B 65715106db02e83f801b47aad5e48ba6e84cc42121298a210de8893752392ecbf99953fb6e0b7a2629b76e454523520794b7107226587d7dcfb46eecaad82439 SHA512 cd6b0a1516e91e1e8823333aaa314ca265387ea8dfb5739e428703f2dd798755126dc6269a5d253d6eaa3118d096945e9492f7f122ae306f6d5835b8aa9fa30f
DIST pyupgrade-3.8.0.gh.tar.gz 62529 BLAKE2B d82a8670bd14294f3320f57643173e8e2963898133f38158902d6c6df01bd6859204a40b8f83ff533ca16ff583f3a739cbbba2a9c3a9205ffd796ba81f6cfbb6 SHA512 af04d68560fb520361ce42be449b26d3c590337ba3b54adfaf610e9477c3e913d3f38f742d055f6e435a3dc7695ae18b22d011b3cfec02b6c41c7b64a6e83b3b
+DIST pyupgrade-3.9.0.gh.tar.gz 63231 BLAKE2B 5b8bcba1d5f20379a2fe12df3f515222ccf05a67c6666c9de9caddc2f667010eec296f5c64354dbd56170a94f3cba00e0556f34c5f0cc2ffcc4e3a289790d24f SHA512 572f5b30ce18d86ed2e0cae102cc05940e58be325e0dffb4d5c23e7ed377e497d74c01f44d2bf32a18d04eaed282df5007f5f9eea5633fc46f196c63a6fcc134
diff --git a/dev-python/pyupgrade/pyupgrade-3.9.0.ebuild b/dev-python/pyupgrade/pyupgrade-3.9.0.ebuild
new file mode 100644
index 000000000000..8d3990592700
--- /dev/null
+++ b/dev-python/pyupgrade/pyupgrade-3.9.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..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/
+"
+# 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[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest