commit: f7fbee4b254adb9403d1f97c20c6812830975eba
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 05:58:14 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 06:38:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7fbee4b
dev-python/pyupgrade: Bump to 3.2.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyupgrade/Manifest | 1 +
dev-python/pyupgrade/pyupgrade-3.2.0.ebuild | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
index fd1572877816..af3acc3d2bff 100644
--- a/dev-python/pyupgrade/Manifest
+++ b/dev-python/pyupgrade/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-python/pyupgrade/pyupgrade-3.2.0.ebuild
b/dev-python/pyupgrade/pyupgrade-3.2.0.ebuild
new file mode 100644
index 000000000000..02368726bb1d
--- /dev/null
+++ b/dev-python/pyupgrade/pyupgrade-3.2.0.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