mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user