projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e806174
)
dev-python/sphinx: Make python_test() simpler
author
Michał Górny
<mgorny@gentoo.org>
Thu, 12 Jul 2018 18:36:45 +0000
(20:36 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Thu, 12 Jul 2018 18:49:35 +0000
(20:49 +0200)
dev-python/sphinx/sphinx-1.7.5-r1.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
index b39431a75c07c8f40bdeb00cb1df9d1be4eb740a..86a61f664a7418b17b16ffdd3b25bf2af09a4580 100644
(file)
--- 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}"
}