diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-11-01 17:58:52 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-11-01 17:58:52 +0000 |
| commit | 28afbc66bca5259f548ac65a817f922c5358b530 (patch) | |
| tree | ee1671ed3fbd4d2f4b5fe000e7b9932f5f2d319c /dev-python/numpy/numpy-2.1.2.ebuild | |
| parent | e66380d37fae5cdac0713c137ff216e40281198b (diff) | |
| download | baldeagleos-repo-28afbc66bca5259f548ac65a817f922c5358b530.tar.gz baldeagleos-repo-28afbc66bca5259f548ac65a817f922c5358b530.tar.xz baldeagleos-repo-28afbc66bca5259f548ac65a817f922c5358b530.zip | |
Adding metadata
Diffstat (limited to 'dev-python/numpy/numpy-2.1.2.ebuild')
| -rw-r--r-- | dev-python/numpy/numpy-2.1.2.ebuild | 49 |
1 files changed, 46 insertions, 3 deletions
diff --git a/dev-python/numpy/numpy-2.1.2.ebuild b/dev-python/numpy/numpy-2.1.2.ebuild index 51df19bd70b4..040b4a17d620 100644 --- a/dev-python/numpy/numpy-2.1.2.ebuild +++ b/dev-python/numpy/numpy-2.1.2.ebuild @@ -23,7 +23,7 @@ SLOT="0/2" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # +lapack because the internal fallbacks are pretty slow. Building without blas # is barely supported anyway, see bug #914358. -IUSE="+lapack" +IUSE="big-endian +lapack" RDEPEND=" lapack? ( @@ -90,13 +90,56 @@ python_test() { numpy/typing/tests/test_typing.py # Uses huge amount of memory numpy/core/tests/test_mem_overlap.py - 'numpy/core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' ) if [[ $(uname -m) == armv8l ]]; then # Degenerate case of arm32 chroot on arm64, bug #774108 EPYTEST_DESELECT+=( - numpy/core/tests/test_cpu_features.py::Test_ARM_Features::test_features + numpy/_core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + case ${ARCH} in + arm) + EPYTEST_DESELECT+=( + # TODO: warnings + numpy/_core/tests/test_umath.py::TestSpecialFloats::test_unary_spurious_fpexception + + # TODO + numpy/_core/tests/test_function_base.py::TestLinspace::test_denormal_numbers + numpy/f2py/tests/test_kind.py::TestKind::test_real + numpy/f2py/tests/test_kind.py::TestKind::test_quad_precisionn + + # require too much memory + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + ) + ;& + ppc|x86) + EPYTEST_DESELECT+=( + # require too much memory + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + ) + ;; + esac + + if [[ ${CHOST} == powerpc64le-* ]]; then + EPYTEST_DESELECT+=( + # long double thingy + numpy/_core/tests/test_scalarprint.py::TestRealScalars::test_ppc64_ibm_double_double128 + ) + fi + + if use big-endian; then + EPYTEST_DESELECT+=( + # ppc64 and sparc + numpy/linalg/tests/test_linalg.py::TestDet::test_generalized_sq_cases + numpy/linalg/tests/test_linalg.py::TestDet::test_sq_cases + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]" + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]" + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]" + "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]" ) fi |
