Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyupgrade/
Date: Sun, 30 Oct 2022 06:40:00
Message-Id: 1667111934.f7fbee4b254adb9403d1f97c20c6812830975eba.mgorny@gentoo
1 commit: f7fbee4b254adb9403d1f97c20c6812830975eba
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 30 05:58:14 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 06:38:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7fbee4b
7
8 dev-python/pyupgrade: Bump to 3.2.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyupgrade/Manifest | 1 +
13 dev-python/pyupgrade/pyupgrade-3.2.0.ebuild | 29 +++++++++++++++++++++++++++++
14 2 files changed, 30 insertions(+)
15
16 diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest
17 index fd1572877816..af3acc3d2bff 100644
18 --- a/dev-python/pyupgrade/Manifest
19 +++ b/dev-python/pyupgrade/Manifest
20 @@ -1 +1,2 @@
21 DIST pyupgrade-3.1.0.gh.tar.gz 62086 BLAKE2B 0a5eccb457591e719e132bfa2444c8587a81a731505f9f848755e72c25bf8addf152ea6f3845fa071fb836c521279934533f58717b261041c700b3b51305f7ec SHA512 b63ced8efe7d76fa40f6f8ccf0f922eec1967098b770ff3a5cdc67a3bf3a057900c592bb041500f8f78f2df782c7b90ab8c453591c8b45d3d2d073f00e8bdae1
22 +DIST pyupgrade-3.2.0.gh.tar.gz 62618 BLAKE2B 2cc9525947d745f04df4a68e61e639f6ac4fe055da43e0a6dcc028bd186d3e7b77ec349f1570f88b7e7460090f4dd5755c95fc9b97f74487404ed2106b65b0e4 SHA512 86dd5439d63bc767d7c3e9898fac0dd9e129d298b0f46632a462cd55044f291f57bdc2f1fd7336ab17e51cac293e5918bc1d18cbb439a1596d15d1f457e194a1
23
24 diff --git a/dev-python/pyupgrade/pyupgrade-3.2.0.ebuild b/dev-python/pyupgrade/pyupgrade-3.2.0.ebuild
25 new file mode 100644
26 index 000000000000..02368726bb1d
27 --- /dev/null
28 +++ b/dev-python/pyupgrade/pyupgrade-3.2.0.ebuild
29 @@ -0,0 +1,29 @@
30 +# Copyright 2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Tool + pre-commit hook to automatically upgrade syntax for newer Pythons"
41 +HOMEPAGE="
42 + https://github.com/asottile/pyupgrade/
43 + https://pypi.org/project/pyupgrade/
44 +"
45 +SRC_URI="
46 + https://github.com/asottile/pyupgrade/archive/v${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +KEYWORDS="~amd64"
53 +
54 +RDEPEND="
55 + dev-python/tokenize-rt[${PYTHON_USEDEP}]
56 +"
57 +
58 +distutils_enable_tests pytest