diff options
Diffstat (limited to 'dev-python/zipp/zipp-0.6.0-r1.ebuild')
-rw-r--r-- | dev-python/zipp/zipp-0.6.0-r1.ebuild | 4 |
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 } |