projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6407577
)
dev-python/python-jose: eliminate pytest-runner dep
author
Zac Medico
<zmedico@gentoo.org>
Tue, 25 Jun 2019 19:18:15 +0000
(12:18 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 25 Jun 2019 19:30:54 +0000
(12:30 -0700)
Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/688680
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Zac Medico <zmedico@gentoo.org>
dev-python/python-jose/python-jose-3.0.1.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/python-jose/python-jose-3.0.1.ebuild
b/dev-python/python-jose/python-jose-3.0.1.ebuild
index e304330420f54320f0d65bd129e854a727330b83..73f6c9b800c27f6c2b4527cb040d79f85200a411 100644
(file)
--- a/
dev-python/python-jose/python-jose-3.0.1.ebuild
+++ b/
dev-python/python-jose/python-jose-3.0.1.ebuild
@@
-30,6
+30,11
@@
DEPEND="${RDEPEND}
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"
+python_prepare_all() {
+ sed -e 's|'\''pytest-runner'\'',\?||' -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
python_test() {
-
esetup.py test
|| die "tests failed with ${EPYTHON}"
+
py.test -v
|| die "tests failed with ${EPYTHON}"
}