1 |
commit: 3ffcde8c1e7685008918495dfa152afa132573eb |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Mon Mar 30 22:06:28 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 30 22:06:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ffcde8c |
7 |
|
8 |
dev-python/cherrypy: Fix sed to remove pytest-cov |
9 |
|
10 |
We need to make sure all pytest-cov related parameters are stripped, |
11 |
not just the first one. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/715008 |
14 |
Copyright: Sony Interactive Entertainment Inc. |
15 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
16 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
17 |
|
18 |
dev-python/cherrypy/cherrypy-18.5.0.ebuild | 6 +++--- |
19 |
1 file changed, 3 insertions(+), 3 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/cherrypy/cherrypy-18.5.0.ebuild b/dev-python/cherrypy/cherrypy-18.5.0.ebuild |
22 |
index d113700efc1..2e86a61b646 100644 |
23 |
--- a/dev-python/cherrypy/cherrypy-18.5.0.ebuild |
24 |
+++ b/dev-python/cherrypy/cherrypy-18.5.0.ebuild |
25 |
@@ -53,9 +53,9 @@ python_prepare_all() { |
26 |
sed -r -e '/(pytest-sugar|pytest-cov)/ d' \ |
27 |
-i setup.py || die |
28 |
|
29 |
- sed -r -e 's:--cov-report[[:space:]]+[[:graph:]]+::' \ |
30 |
- -e 's:--cov[[:graph:]]+::' \ |
31 |
- -e 's:--doctest[[:graph:]]+::' \ |
32 |
+ sed -r -e 's:--cov-report[[:space:]]+[[:graph:]]+::g' \ |
33 |
+ -e 's:--cov[[:graph:]]+::g' \ |
34 |
+ -e 's:--doctest[[:graph:]]+::g' \ |
35 |
-i pytest.ini || die |
36 |
|
37 |
distutils-r1_python_prepare_all |