1 |
commit: 7724e813891c1f98dfa6df04bd546ec78c1f9dc5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 12:11:33 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 31 00:23:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7724e813 |
7 |
|
8 |
dev-python/pandas: Run a single Xvfb |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pandas/pandas-1.4.0.ebuild | 9 +++++++-- |
13 |
1 file changed, 7 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pandas/pandas-1.4.0.ebuild b/dev-python/pandas/pandas-1.4.0.ebuild |
16 |
index 922f3eec3723..a29bcb00cd44 100644 |
17 |
--- a/dev-python/pandas/pandas-1.4.0.ebuild |
18 |
+++ b/dev-python/pandas/pandas-1.4.0.ebuild |
19 |
@@ -140,6 +140,10 @@ python_compile_all() { |
20 |
fi |
21 |
} |
22 |
|
23 |
+src_test() { |
24 |
+ virtx distutils-r1_src_test |
25 |
+} |
26 |
+ |
27 |
python_test() { |
28 |
local EPYTEST_DESELECT=( |
29 |
# test for rounding errors, fails if we have better precision |
30 |
@@ -155,8 +159,9 @@ python_test() { |
31 |
local -x LC_ALL=C.UTF-8 |
32 |
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die |
33 |
"${EPYTHON}" -c "import pandas; pandas.show_versions()" || die |
34 |
- virtx epytest pandas --skip-slow --skip-network -m "not single" \ |
35 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
36 |
+ epytest pandas --skip-slow --skip-network -m "not single" \ |
37 |
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || |
38 |
+ die "Tests failed with ${EPYTHON}" |
39 |
} |
40 |
|
41 |
python_install_all() { |