commit:     aa6fd714174d4291c3704bcf0e1f944560176348
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 12 18:36:45 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 12 18:49:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6fd714

dev-python/sphinx: Make python_test() simpler

 dev-python/sphinx/sphinx-1.7.5-r1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild 
b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
index b39431a75c0..86a61f664a7 100644
--- a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
+++ b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
@@ -93,7 +93,5 @@ python_compile_all() {
 python_test() {
        mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
        local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
-       cp -r -l tests "${BUILD_DIR}"/ || die "Failed to copy tests"
-       cp Makefile "${BUILD_DIR}"/ || die "Failed to copy Makefile"
-       emake test
+       py.test -vv || die "Tests fail with ${EPYTHON}"
 }

Reply via email to