commit:     4693c97f7c5e218d18aeb9c9783de844c69bd991
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 12 04:40:38 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 12 04:59:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4693c97f

dev-python/pyupgrade: Bump to 3.18.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyupgrade/Manifest                |  1 +
 dev-python/pyupgrade/pyupgrade-3.18.0.ebuild | 30 ++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
index 68fe35db7192..5e74c4e852f2 100644
--- a/dev-python/pyupgrade/Manifest
+++ b/dev-python/pyupgrade/Manifest
@@ -1,2 +1,3 @@
 DIST pyupgrade-3.16.0.gh.tar.gz 65582 BLAKE2B 
99c04e528d6bc8d802595ee320843561b317cdf57c87fe2f095b29dfa99b23d00c87951b48f437a72a2602a5bc7bd237abc98cdf9b802ca8c5faff83fe666396
 SHA512 
a348fd925418e5ec57777360f77aa814eb1b95e45842b8310ed4edb357e5a3648dfbecf09ab7c5d70a8ba98728f2355ef5e5f51908a8c53faf5762869b74e1da
 DIST pyupgrade-3.17.0.gh.tar.gz 66098 BLAKE2B 
e55b823e6e393ec7d1268661e527bdad6f17b330edc086387d8234a6da3a4a7da79a5d862c594827643853328a807e7ce39450f0685f3d31fd2e81c9407505ca
 SHA512 
28dc66179edd44ec498ada856b6522b73296783d9ce6519676bc658c0c8038c7916f5f330240571458728d344a5a26de7c7a63d61b0a6496fc658dd57ccd7992
+DIST pyupgrade-3.18.0.gh.tar.gz 66227 BLAKE2B 
e788e3ce2b7f67fb8af62e430c6702b60729e6d7310085f785db8262e54429b11f25c95f922a3e51b2bcbc5120221ba00ef27a96f03ec4bd76d98c876a45fa43
 SHA512 
16a13f38ab422cb36eb3ac7546064b7c524bb746a7828c871ed67548dab57f97f22c80e9f89b520a763ae6b87dec78c7b7454dff74db7425157bf30d8e950ba4

diff --git a/dev-python/pyupgrade/pyupgrade-3.18.0.ebuild 
b/dev-python/pyupgrade/pyupgrade-3.18.0.ebuild
new file mode 100644
index 000000000000..12bbba4127a7
--- /dev/null
+++ b/dev-python/pyupgrade/pyupgrade-3.18.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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-5.2.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest

Reply via email to