summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-11-25 00:11:55 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-11-25 00:11:55 -0800
commita5a258544026c16a39ab85ad1f4ce4cfb28b34f1 (patch)
tree12fe7367f234218ac49ea684cf2cba752e9e837c /dev-python/tempora
parentdev-python/jaraco-functools-2.0-r1: fix setuptools_scm removal (diff)
downloadgentoo-a5a258544026c16a39ab85ad1f4ce4cfb28b34f1.tar.gz
gentoo-a5a258544026c16a39ab85ad1f4ce4cfb28b34f1.tar.bz2
gentoo-a5a258544026c16a39ab85ad1f4ce4cfb28b34f1.zip
dev-python/tempora-1.14.1-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/tempora')
-rw-r--r--dev-python/tempora/tempora-1.14.1-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/tempora/tempora-1.14.1-r1.ebuild b/dev-python/tempora/tempora-1.14.1-r1.ebuild
index 411f243370da..067df96ad32f 100644
--- a/dev-python/tempora/tempora-1.14.1-r1.ebuild
+++ b/dev-python/tempora/tempora-1.14.1-r1.ebuild
@@ -50,7 +50,9 @@ python_check_deps() {
python_prepare_all() {
# avoid a setuptools_scm dependency
- 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
}