diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2019-11-25 00:15:58 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2019-11-25 00:15:58 -0800 |
commit | 093519e5056642a9bc005bb6947943d7a7d712de (patch) | |
tree | 5160302dd01d3d4acb7c2af275639079eddce559 /dev-python/jsonschema | |
parent | dev-python/tempora-1.14.1-r1: fix setuptools_scm removal (diff) | |
download | gentoo-093519e5056642a9bc005bb6947943d7a7d712de.tar.gz gentoo-093519e5056642a9bc005bb6947943d7a7d712de.tar.bz2 gentoo-093519e5056642a9bc005bb6947943d7a7d712de.zip |
dev-python/jsonschema-3.2.0: 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/jsonschema')
-rw-r--r-- | dev-python/jsonschema/jsonschema-3.2.0.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/jsonschema/jsonschema-3.2.0.ebuild b/dev-python/jsonschema/jsonschema-3.2.0.ebuild index 8b7153a6d529..1c579f244923 100644 --- a/dev-python/jsonschema/jsonschema-3.2.0.ebuild +++ b/dev-python/jsonschema/jsonschema-3.2.0.ebuild @@ -45,7 +45,9 @@ distutils_enable_tests unittest 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 } |