mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/black-21.9_beta0: Fix setuptools_scm dep in setup.cfg
Closes: https://bugs.gentoo.org/813258 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
@@ -43,7 +43,8 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
# remove unnecessary bind that worked around broken 6.1.0/6.2.0 releases
|
||||
sed -i -e '/setuptools_scm/s:~=:>=:' setup.cfg || die
|
||||
sed -i -e '/setuptools_scm/s:~=:>=:' \
|
||||
-e 's/setuptools_scm\[toml\]>=[0-9.]*/setuptools_scm[toml]/' setup.cfg || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user