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:
Patrick McLean
2021-09-15 17:40:16 -07:00
parent 83d255cc5a
commit 0211d7917a

View File

@@ -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
}