dev-python/importlib_metadata: Restore dep on setuptools_scm

Closes: https://bugs.gentoo.org/730306
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-07-03 11:58:16 +02:00
parent 3b6864f38b
commit a5658ee595

View File

@@ -22,6 +22,7 @@ RDEPEND="
$(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2)
"
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
${RDEPEND}
$(python_gen_cond_dep '
@@ -38,9 +39,6 @@ distutils_enable_tests unittest
python_prepare_all() {
# remove dep on setuptools_scm
sed -i -r "s:use_scm_version=.+,:version='${PV}',:" \
setup.py || die
sed -i -e 's:setuptools-scm::' setup.cfg || die
sed -e 's:test_find_local:_&:' \
-i importlib_metadata/tests/test_integration.py || die