diff options
Diffstat (limited to 'dev-python/portend/portend-2.6.ebuild')
-rw-r--r-- | dev-python/portend/portend-2.6.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/portend/portend-2.6.ebuild b/dev-python/portend/portend-2.6.ebuild index 440e6653c393..61740c50d764 100644 --- a/dev-python/portend/portend-2.6.ebuild +++ b/dev-python/portend/portend-2.6.ebuild @@ -23,7 +23,9 @@ distutils_enable_tests pytest 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 # avoid extra test deps sed -i -r 's: --flake8:: ; s: --black:: ; s: --cov::' pytest.ini || die |