From 76dfbd75b4d6b2fcc0c51535c7e54393c1d705e8 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 27 May 2023 10:15:23 +0100 Subject: 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 --- dev-python/numpy/numpy-1.24.3.ebuild | 17 +++++++++++------ 1 file 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} -- cgit v1.2.3-65-gdbad