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/jaraco-envs/
Date: Tue, 30 Nov 2021 10:01:42
Message-Id: 1638266488.dbc73b98f8ae481346020eaec2129bcec64dc7d6.mgorny@gentoo
1 commit: dbc73b98f8ae481346020eaec2129bcec64dc7d6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 30 09:57:17 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 30 10:01:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc73b98
7
8 dev-python/jaraco-envs: Strip optional runtime dep on tox
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../{jaraco-envs-2.2.0.ebuild => jaraco-envs-2.2.0-r1.ebuild} | 8 +++++++-
13 1 file changed, 7 insertions(+), 1 deletion(-)
14
15 diff --git a/dev-python/jaraco-envs/jaraco-envs-2.2.0.ebuild b/dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild
16 similarity index 84%
17 rename from dev-python/jaraco-envs/jaraco-envs-2.2.0.ebuild
18 rename to dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild
19 index b601de93161c..11b21bae8bc6 100644
20 --- a/dev-python/jaraco-envs/jaraco-envs-2.2.0.ebuild
21 +++ b/dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild
22 @@ -1,7 +1,7 @@
23 # Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=7
27 +EAPI=8
28 PYTHON_COMPAT=( python3_{8..10} pypy3 )
29 inherit distutils-r1
30
31 @@ -25,3 +25,9 @@ BDEPEND="
32
33 # there are no actual tests, just flake8 etc
34 RESTRICT="test"
35 +
36 +src_prepare() {
37 + # optional runtime dep, not used by anything in ::gentoo
38 + sed -i -e '/tox/d' setup.cfg || die
39 + distutils-r1_src_prepare
40 +}