summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-11-30 10:57:17 +0100
committerMichał Górny <mgorny@gentoo.org>2021-11-30 11:01:28 +0100
commitdbc73b98f8ae481346020eaec2129bcec64dc7d6 (patch)
tree66e0a24f4c34303937b6dedf2bde1bd86d602317 /dev-python/jaraco-envs
parentapp-admin/awscli: Strip upper bounds on requirements (diff)
downloadgentoo-dbc73b98f8ae481346020eaec2129bcec64dc7d6.tar.gz
gentoo-dbc73b98f8ae481346020eaec2129bcec64dc7d6.tar.bz2
gentoo-dbc73b98f8ae481346020eaec2129bcec64dc7d6.zip
dev-python/jaraco-envs: Strip optional runtime dep on tox
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jaraco-envs')
-rw-r--r--dev-python/jaraco-envs/jaraco-envs-2.2.0-r1.ebuild (renamed from dev-python/jaraco-envs/jaraco-envs-2.2.0.ebuild)8
1 files changed, 7 insertions, 1 deletions
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
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
+}