dev-python/zipp-0.6.0-r1: fix setuptools_scm removal

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
Patrick McLean
2019-11-25 00:19:55 -08:00
committed by Patrick McLean
parent 093519e505
commit dcc018430d
+3 -1
View File
@@ -45,7 +45,9 @@ python_check_deps() {
}
python_prepare_all() {
sed -i "s:use_scm_version=True:version='${PV}':" setup.py || die
sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" setup.py || die
sed -r -i "s:setuptools_scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+|)[[:space:]]*::" \
setup.cfg || die
distutils-r1_python_prepare_all
}