summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-11-25 00:19:55 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-11-25 00:19:55 -0800
commitdcc018430dddf5cff146b9365776efee0af98758 (patch)
treebf7ada0bf4dfbf0f02f4e110c8715f5bbfffb033 /dev-python/zipp
parentdev-python/jsonschema-3.2.0: fix setuptools_scm removal (diff)
downloadgentoo-dcc018430dddf5cff146b9365776efee0af98758.tar.gz
gentoo-dcc018430dddf5cff146b9365776efee0af98758.tar.bz2
gentoo-dcc018430dddf5cff146b9365776efee0af98758.zip
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>
Diffstat (limited to 'dev-python/zipp')
-rw-r--r--dev-python/zipp/zipp-0.6.0-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/zipp/zipp-0.6.0-r1.ebuild b/dev-python/zipp/zipp-0.6.0-r1.ebuild
index 066ccd64b621..0088457fca8f 100644
--- a/dev-python/zipp/zipp-0.6.0-r1.ebuild
+++ b/dev-python/zipp/zipp-0.6.0-r1.ebuild
@@ -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
}