summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-19 01:26:46 +0100
committerSam James <sam@gentoo.org>2022-08-19 01:30:51 +0100
commit5677f67bb122928803d11c4083e4815c359502eb (patch)
tree0d7f3fcafe498b30af6936399905c4f72ca091cf /dev-python/pyupgrade
parentdev-python/tokenize-rt: new package, add 4.2.1 (diff)
downloadgentoo-5677f67bb122928803d11c4083e4815c359502eb.tar.gz
gentoo-5677f67bb122928803d11c4083e4815c359502eb.tar.bz2
gentoo-5677f67bb122928803d11c4083e4815c359502eb.zip
dev-python/pyupgrade: new package, add 2.37.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/pyupgrade')
-rw-r--r--dev-python/pyupgrade/Manifest1
-rw-r--r--dev-python/pyupgrade/metadata.xml21
-rw-r--r--dev-python/pyupgrade/pyupgrade-2.37.3.ebuild20
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
new file mode 100644
index 000000000000..93f27da63275
--- /dev/null
+++ b/dev-python/pyupgrade/Manifest
@@ -0,0 +1 @@
+DIST pyupgrade-2.37.3.gh.tar.gz 64041 BLAKE2B 531ac8038c7084a4e46bac15d8da056d04496d979beb1fa98ab0832fab50425f412e3b17de3a52a24264acf489af9a9dde6094dd8a5939877269b38d1997d9ad SHA512 dd7e31c2e586d412902d25f30102dc7d229f76f4735e61ad9c77ad59642c2c2ed65d937cc5c6cde9bd50a1a2dad99d06a97c88fb6b0bd034cbc139685045f738
diff --git a/dev-python/pyupgrade/metadata.xml b/dev-python/pyupgrade/metadata.xml
new file mode 100644
index 000000000000..f072f4d85273
--- /dev/null
+++ b/dev-python/pyupgrade/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>ajak@gentoo.org</email>
+ <name>John Helmert III</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">pypi</remote-id>
+ <remote-id type="github">asottile/pyupgrade</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyupgrade/pyupgrade-2.37.3.ebuild b/dev-python/pyupgrade/pyupgrade-2.37.3.ebuild
new file mode 100644
index 000000000000..568af18a9d08
--- /dev/null
+++ b/dev-python/pyupgrade/pyupgrade-2.37.3.ebuild
@@ -0,0 +1,20 @@
+# 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="A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language."
+HOMEPAGE="https://github.com/asottile/pyupgrade"
+SRC_URI="https://github.com/asottile/pyupgrade/archive/refs/tags/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