diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2019-11-25 00:09:35 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2019-11-25 00:09:35 -0800 |
commit | 7eb693d38d67212fb3466cb9ce30097474ec397f (patch) | |
tree | 6240fd475ba4784ad7704764de36178869983bbc /dev-python/jaraco-functools | |
parent | dev-python/path-py: fix setuptools_scm removal (diff) | |
download | gentoo-7eb693d38d67212fb3466cb9ce30097474ec397f.tar.gz gentoo-7eb693d38d67212fb3466cb9ce30097474ec397f.tar.bz2 gentoo-7eb693d38d67212fb3466cb9ce30097474ec397f.zip |
dev-python/jaraco-functools-2.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/jaraco-functools')
-rw-r--r-- | dev-python/jaraco-functools/jaraco-functools-2.0-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/jaraco-functools/jaraco-functools-2.0-r1.ebuild b/dev-python/jaraco-functools/jaraco-functools-2.0-r1.ebuild index 39d1e834d3d1..348372445e08 100644 --- a/dev-python/jaraco-functools/jaraco-functools-2.0-r1.ebuild +++ b/dev-python/jaraco-functools/jaraco-functools-2.0-r1.ebuild @@ -55,7 +55,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 } |