summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-27 10:15:23 +0100
committerSam James <sam@gentoo.org>2023-05-27 10:15:31 +0100
commit76dfbd75b4d6b2fcc0c51535c7e54393c1d705e8 (patch)
tree3cc5ce9ebccd91d212d8721b8009f3a0321aa35d
parentdev-python/tornado: increase test timeout (diff)
downloadgentoo-76dfbd75b4d6b2fcc0c51535c7e54393c1d705e8.tar.gz
gentoo-76dfbd75b4d6b2fcc0c51535c7e54393c1d705e8.tar.bz2
gentoo-76dfbd75b4d6b2fcc0c51535c7e54393c1d705e8.zip
dev-python/numpy: skip test on more 32-bit arches
Bug: https://bugs.gentoo.org/907228 Bug: https://bugs.gentoo.org/328401 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-python/numpy/numpy-1.24.3.ebuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/dev-python/numpy/numpy-1.24.3.ebuild b/dev-python/numpy/numpy-1.24.3.ebuild
index 8df287185022..c378a2de3404 100644
--- a/dev-python/numpy/numpy-1.24.3.ebuild
+++ b/dev-python/numpy/numpy-1.24.3.ebuild
@@ -143,12 +143,17 @@ python_test() {
numpy/core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16
)
fi
- if use arm || use x86 ; then
- EPYTEST_DESELECT+=(
- # too large for 32-bit platforms
- numpy/core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array
- )
- fi
+
+ case "${ABI}" in
+ alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86)
+ EPYTEST_DESELECT+=(
+ # too large for 32-bit platforms
+ numpy/core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array
+ )
+ ;;
+ *)
+ ;;
+ esac
distutils_install_for_testing --single-version-externally-managed \
--record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG}