1 |
commit: e56fe73e14a05236624ec13d310cb326cd077cde |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 12:02:36 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 31 00:23:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e56fe73e |
7 |
|
8 |
dev-python/ipython: Run a single Xvfb |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/ipython/ipython-8.0.1.ebuild | 6 +++++- |
13 |
1 file changed, 5 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-python/ipython/ipython-8.0.1.ebuild b/dev-python/ipython/ipython-8.0.1.ebuild |
16 |
index a1b847bc2132..3354470b2300 100644 |
17 |
--- a/dev-python/ipython/ipython-8.0.1.ebuild |
18 |
+++ b/dev-python/ipython/ipython-8.0.1.ebuild |
19 |
@@ -99,6 +99,10 @@ python_compile_all() { |
20 |
fi |
21 |
} |
22 |
|
23 |
+src_test() { |
24 |
+ virtx distutils-r1_src_test |
25 |
+} |
26 |
+ |
27 |
python_test() { |
28 |
local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 |
29 |
local EPYTEST_DESELECT=( |
30 |
@@ -113,7 +117,7 @@ python_test() { |
31 |
IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups |
32 |
IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions |
33 |
) |
34 |
- virtx epytest |
35 |
+ epytest || die "Tests failed with ${EPYTHON}" |
36 |
} |
37 |
|
38 |
python_install() { |