mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/cherrypy: Fix sed to remove pytest-cov
We need to make sure all pytest-cov related parameters are stripped, not just the first one. Bug: https://bugs.gentoo.org/715008 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
committed by
Patrick McLean
parent
c23a5218ac
commit
3ffcde8c1e
@@ -53,9 +53,9 @@ python_prepare_all() {
|
||||
sed -r -e '/(pytest-sugar|pytest-cov)/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
sed -r -e 's:--cov-report[[:space:]]+[[:graph:]]+::' \
|
||||
-e 's:--cov[[:graph:]]+::' \
|
||||
-e 's:--doctest[[:graph:]]+::' \
|
||||
sed -r -e 's:--cov-report[[:space:]]+[[:graph:]]+::g' \
|
||||
-e 's:--cov[[:graph:]]+::g' \
|
||||
-e 's:--doctest[[:graph:]]+::g' \
|
||||
-i pytest.ini || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
Reference in New Issue
Block a user