diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2021-09-15 17:40:16 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2021-09-15 17:40:27 -0700 |
commit | 0211d7917a2811d34bfd8d37e3ecbe09cbe9db57 (patch) | |
tree | ad154264a3931608c5137848369e66204c701616 /dev-python/black | |
parent | dev-python/yamlpath: Bump to version 3.6.1 (diff) | |
download | gentoo-0211d7917a2811d34bfd8d37e3ecbe09cbe9db57.tar.gz gentoo-0211d7917a2811d34bfd8d37e3ecbe09cbe9db57.tar.bz2 gentoo-0211d7917a2811d34bfd8d37e3ecbe09cbe9db57.zip |
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>
Diffstat (limited to 'dev-python/black')
-rw-r--r-- | dev-python/black/black-21.9_beta0.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-python/black/black-21.9_beta0.ebuild b/dev-python/black/black-21.9_beta0.ebuild index 58c092b5e346..59d306a8d081 100644 --- a/dev-python/black/black-21.9_beta0.ebuild +++ b/dev-python/black/black-21.9_beta0.ebuild @@ -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 } |