Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/autoflake/
Date: Sun, 03 Oct 2021 22:16:44
Message-Id: 1633299399.3b1a40512e8cb9b3f381ee7dc98310553f54049a.Alessandro-Barbieri@gentoo
1 commit: 3b1a40512e8cb9b3f381ee7dc98310553f54049a
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Oct 3 22:16:09 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Oct 3 22:16:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b1a4051
7
8 dev-python/autoflake: EAPI 8
9
10 Closes: https://bugs.gentoo.org/816114
11 Package-Manager: Portage-3.0.26, Repoman-3.0.3
12 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
13
14 .../{autoflake-1.4.ebuild => autoflake-1.4-r1.ebuild} | 10 +++++-----
15 1 file changed, 5 insertions(+), 5 deletions(-)
16
17 diff --git a/dev-python/autoflake/autoflake-1.4.ebuild b/dev-python/autoflake/autoflake-1.4-r1.ebuild
18 similarity index 83%
19 rename from dev-python/autoflake/autoflake-1.4.ebuild
20 rename to dev-python/autoflake/autoflake-1.4-r1.ebuild
21 index d2b5ae13f..370d5864a 100644
22 --- a/dev-python/autoflake/autoflake-1.4.ebuild
23 +++ b/dev-python/autoflake/autoflake-1.4-r1.ebuild
24 @@ -1,10 +1,9 @@
25 -# Copyright 1999-2020 Gentoo Authors
26 +# Copyright 1999-2021 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 -EAPI="7"
30 +EAPI=8
31
32 -PYTHON_COMPAT=( python3_{7,8} )
33 -DISTUTILS_USE_SETUPTOOLS=rdepend
34 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
35
36 inherit distutils-r1
37
38 @@ -19,11 +18,12 @@ LICENSE="MIT"
39 SLOT="0"
40 KEYWORDS="~amd64 ~x86"
41 IUSE="test"
42 -RESTRICT="!test? ( test )"
43
44 DEPEND=">=dev-python/pyflakes-1.1.0[${PYTHON_USEDEP}]"
45 RDEPEND="${DEPEND}"
46
47 +RESTRICT="!test? ( test )"
48 +
49 python_test() {
50 "${EPYTHON}" test_autoflake.py || die
51 }