1 |
commit: ee8e1c46890d2d109fc583a22831280faf3ab99d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 16 11:47:16 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 16 11:47:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee8e1c46 |
7 |
|
8 |
dev-python/sphinxcontrib-websupport: Fix running tests |
9 |
|
10 |
.../sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild | 7 ++++++- |
11 |
1 file changed, 6 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild |
14 |
index 36f4308b2e8..9d9db414ce3 100644 |
15 |
--- a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild |
16 |
+++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.0.ebuild |
17 |
@@ -37,6 +37,11 @@ python_install_all() { |
18 |
find "${ED}" -name '*.pth' -delete || die |
19 |
} |
20 |
|
21 |
+src_test() { |
22 |
+ cd tests || die |
23 |
+ distutils-r1_src_test |
24 |
+} |
25 |
+ |
26 |
python_test() { |
27 |
- pytest -vv tests || die "Tests fail with ${EPYTHON}" |
28 |
+ pytest -vv || die "Tests fail with ${EPYTHON}" |
29 |
} |