commit: dbc73b98f8ae481346020eaec2129bcec64dc7d6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 30 09:57:17 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 30 10:01:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc73b98
dev-python/jaraco-envs: Strip optional runtime dep on tox
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../{jaraco-envs-2.2.0.ebuild => jaraco-envs-2.2.0-r1.ebuild} | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
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
similarity index 84%
rename from dev-python/jaraco-envs/jaraco-envs-2.2.0.ebuild
rename to dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild
index b601de93161c..11b21bae8bc6 100644
--- a/dev-python/jaraco-envs/jaraco-envs-2.2.0.ebuild
+++ b/dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
@@ -25,3 +25,9 @@ BDEPEND="
# there are no actual tests, just flake8 etc
RESTRICT="test"
+
+src_prepare() {
+ # optional runtime dep, not used by anything in ::gentoo
+ sed -i -e '/tox/d' setup.cfg || die
+ distutils-r1_src_prepare
+}