summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-06-25 12:18:15 -0700
committerZac Medico <zmedico@gentoo.org>2019-06-25 12:30:54 -0700
commitaedb97ced1892344c20bf79c68a543149114ad8c (patch)
tree898ac1b8064b7d0e7e6cf8ee19121e7cb0cfe1bc /dev-python/python-jose
parentmedia-video/vlc: 3.0.7.1 version bump (diff)
downloadgentoo-aedb97ced1892344c20bf79c68a543149114ad8c.tar.gz
gentoo-aedb97ced1892344c20bf79c68a543149114ad8c.tar.bz2
gentoo-aedb97ced1892344c20bf79c68a543149114ad8c.zip
dev-python/python-jose: eliminate pytest-runner dep
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>
Diffstat (limited to 'dev-python/python-jose')
-rw-r--r--dev-python/python-jose/python-jose-3.0.1.ebuild7
1 files changed, 6 insertions, 1 deletions
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 e304330420f5..73f6c9b800c2 100644
--- 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}"
}