diff options
author | Sam James <sam@gentoo.org> | 2023-06-27 14:15:51 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-27 14:16:01 +0100 |
commit | 3350c14d100b8d64ebfd3a50fae3c3cbaf59d2ae (patch) | |
tree | c2fecc93317d19ccdf4997e98be4aaf644d1c253 /dev-python/numpy | |
parent | dev-python/numpy: Keyword 1.25.0 s390, #908739 (diff) | |
download | gentoo-3350c14d100b8d64ebfd3a50fae3c3cbaf59d2ae.tar.gz gentoo-3350c14d100b8d64ebfd3a50fae3c3cbaf59d2ae.tar.bz2 gentoo-3350c14d100b8d64ebfd3a50fae3c3cbaf59d2ae.zip |
dev-python/numpy: skip known-broken fortran tests on BE
Bug: https://github.com/numpy/numpy/issues/11831
Closes: https://bugs.gentoo.org/707116
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/numpy')
-rw-r--r-- | dev-python/numpy/numpy-1.25.0.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/dev-python/numpy/numpy-1.25.0.ebuild b/dev-python/numpy/numpy-1.25.0.ebuild index e4bd4f068a9a..f3026380431e 100644 --- a/dev-python/numpy/numpy-1.25.0.ebuild +++ b/dev-python/numpy/numpy-1.25.0.ebuild @@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE="threads(+)" FORTRAN_NEEDED=lapack -inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi +inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi toolchain-funcs DESCRIPTION="Fast array and numerical python library" HOMEPAGE=" @@ -104,6 +104,16 @@ python_test() { ) fi + if [[ $(tc-endian) == "big" ]] ; then + # https://github.com/numpy/numpy/issues/11831 and bug #707116 + EPYTEST_DESELECT+=( + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]' + ) + fi + case "${ABI}" in alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) EPYTEST_DESELECT+=( |