1 |
commit: e84579b092eddc1815cbd92ab0dc769557d3d383 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 12:11:15 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 31 00:23:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e84579b0 |
7 |
|
8 |
dev-python/pillow: Run a single Xvfb |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pillow/pillow-9.0.0-r1.ebuild | 6 +++++- |
13 |
1 file changed, 5 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-python/pillow/pillow-9.0.0-r1.ebuild b/dev-python/pillow/pillow-9.0.0-r1.ebuild |
16 |
index a1ac66234130..82a914de8bf7 100644 |
17 |
--- a/dev-python/pillow/pillow-9.0.0-r1.ebuild |
18 |
+++ b/dev-python/pillow/pillow-9.0.0-r1.ebuild |
19 |
@@ -82,10 +82,14 @@ python_configure_all() { |
20 |
tc-export PKG_CONFIG |
21 |
} |
22 |
|
23 |
+src_test() { |
24 |
+ virtx distutils-r1_src_test |
25 |
+} |
26 |
+ |
27 |
python_test() { |
28 |
"${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" |
29 |
# no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed |
30 |
- virtx epytest -p no:relaxed |
31 |
+ epytest -p no:relaxed || die "Tests failed with ${EPYTHON}" |
32 |
} |
33 |
|
34 |
python_install() { |