commit: 3350c14d100b8d64ebfd3a50fae3c3cbaf59d2ae Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jun 27 13:15:51 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jun 27 13:16:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3350c14d
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 <AT> gentoo.org> dev-python/numpy/numpy-1.25.0.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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+=(
