commit:     69e8597bb31a45cd8cefc1d41b887e59e70f61b3
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  9 23:39:38 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Jun  9 23:40:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69e8597b

dev-python/black-19.10_beta0: Fix sed to remove setuptools_scm

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-python/black/black-19.10_beta0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/black/black-19.10_beta0.ebuild 
b/dev-python/black/black-19.10_beta0.ebuild
index 32679a1df08..fa3a4c50efb 100644
--- a/dev-python/black/black-19.10_beta0.ebuild
+++ b/dev-python/black/black-19.10_beta0.ebuild
@@ -50,7 +50,7 @@ python_prepare_all() {
 
        [[ -e ${version_path} ]] && die "could not find path to write version 
to"
        printf 'version = "%s"\n' "${MY_PV}" > "${version_path}" || die "error 
writing version"
-       sed 's:setuptools_scm::' setup.cfg || die
+       sed -e 's:setuptools_scm::' -i setup.cfg || die
 
        distutils-r1_python_prepare_all
 }

Reply via email to