summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2020-10-09 12:25:06 +0200
committerLouis Sautier <sbraz@gentoo.org>2020-10-09 12:51:44 +0200
commit79d414a4f8c1854b28c4ef3567e51d4c4a633024 (patch)
tree32139d7e049d5861ca1afb88c726e9e725608c16 /dev-python/tox
parentprofiles/base: Drop python package.use.mask for sys-cluster/ganglia. (diff)
downloadgentoo-79d414a4f8c1854b28c4ef3567e51d4c4a633024.tar.gz
gentoo-79d414a4f8c1854b28c4ef3567e51d4c4a633024.tar.bz2
gentoo-79d414a4f8c1854b28c4ef3567e51d4c4a633024.zip
dev-python/tox: remove importlib_metadata version constraints
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/tox')
-rw-r--r--dev-python/tox/tox-3.20.0-r1.ebuild (renamed from dev-python/tox/tox-3.20.0.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/tox/tox-3.20.0.ebuild b/dev-python/tox/tox-3.20.0-r1.ebuild
index 499658c518d4..e4896d972c07 100644
--- a/dev-python/tox/tox-3.20.0.ebuild
+++ b/dev-python/tox/tox-3.20.0-r1.ebuild
@@ -60,6 +60,8 @@ src_prepare() {
sed -i -e 's:test_tox_get_python_executable:_&:' \
-e 's:test_find_alias_on_path:_&:' \
tests/unit/interpreters/test_interpreters.py || die
+ # ignore importlib_metadata version constraints
+ sed -i -e '/^[[:space:]]*importlib-metadata\b/d' setup.cfg || die
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
}