diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2019-11-25 00:05:42 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2019-11-25 00:05:42 -0800 |
commit | 155d45b282c921d6a18e20787ca1f24fd4ab6591 (patch) | |
tree | 41a06b6bac9ae27cd69fd01d43c6e2f9b766ca1b /dev-python/jaraco-packaging | |
parent | dev-python/backports-unittest-mock: fix missed dep (bug #701042) (diff) | |
download | gentoo-155d45b282c921d6a18e20787ca1f24fd4ab6591.tar.gz gentoo-155d45b282c921d6a18e20787ca1f24fd4ab6591.tar.bz2 gentoo-155d45b282c921d6a18e20787ca1f24fd4ab6591.zip |
dev-python/jaraco-packaging-6.2-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-packaging')
-rw-r--r-- | dev-python/jaraco-packaging/jaraco-packaging-6.2-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/jaraco-packaging/jaraco-packaging-6.2-r1.ebuild b/dev-python/jaraco-packaging/jaraco-packaging-6.2-r1.ebuild index aa458c4bbe69..e3e5f83ada4f 100644 --- a/dev-python/jaraco-packaging/jaraco-packaging-6.2-r1.ebuild +++ b/dev-python/jaraco-packaging/jaraco-packaging-6.2-r1.ebuild @@ -49,7 +49,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 } |