1 |
commit: aedb97ced1892344c20bf79c68a543149114ad8c |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 25 19:18:15 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 25 19:30:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aedb97ce |
7 |
|
8 |
dev-python/python-jose: eliminate pytest-runner dep |
9 |
|
10 |
Reported-by: Toralf Förster <toralf <AT> gentoo.org> |
11 |
Closes: https://bugs.gentoo.org/688680 |
12 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
13 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
14 |
|
15 |
dev-python/python-jose/python-jose-3.0.1.ebuild | 7 ++++++- |
16 |
1 file changed, 6 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-python/python-jose/python-jose-3.0.1.ebuild b/dev-python/python-jose/python-jose-3.0.1.ebuild |
19 |
index e304330420f..73f6c9b800c 100644 |
20 |
--- a/dev-python/python-jose/python-jose-3.0.1.ebuild |
21 |
+++ b/dev-python/python-jose/python-jose-3.0.1.ebuild |
22 |
@@ -30,6 +30,11 @@ DEPEND="${RDEPEND} |
23 |
dev-python/pytest-cov[${PYTHON_USEDEP}] |
24 |
)" |
25 |
|
26 |
+python_prepare_all() { |
27 |
+ sed -e 's|'\''pytest-runner'\'',\?||' -i setup.py || die |
28 |
+ distutils-r1_python_prepare_all |
29 |
+} |
30 |
+ |
31 |
python_test() { |
32 |
- esetup.py test || die "tests failed with ${EPYTHON}" |
33 |
+ py.test -v || die "tests failed with ${EPYTHON}" |
34 |
} |