diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-02 03:04:24 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-02 03:04:24 +0000 |
commit | 37a097af13d675b83911ac006ee9ee22d2163f9a (patch) | |
tree | 75294129093c3332ea0ba918643a3485b19550f6 /dev-python/numpy | |
parent | aac5e1b02ac846f5e1ce85f4f66fdec46aa9b0d1 (diff) |
gentoo auto-resync : 02:11:2024 - 03:04:23
Diffstat (limited to 'dev-python/numpy')
-rw-r--r-- | dev-python/numpy/Manifest | 4 | ||||
-rw-r--r-- | dev-python/numpy/numpy-2.0.2-r1.ebuild | 50 | ||||
-rw-r--r-- | dev-python/numpy/numpy-2.1.2.ebuild | 49 |
3 files changed, 94 insertions, 9 deletions
diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index d6c67e26ad9b..77e43d9d5cfe 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -5,6 +5,6 @@ DIST numpy-2.0.2.tar.gz 18902015 BLAKE2B 63f993e3429bff1dac1ff79fad23a36a2493fd2 DIST numpy-2.1.2.tar.gz 18878063 BLAKE2B b976b72bb113fc9c5e5a17c9d89038b6a11f2a09521ef46a610dd1fd04b0b11f08491728b2397ca5e3e9613aab3ad8c63b2b15a6378c535cf0e735226d517617 SHA512 3d69f6583e093e8fd0f441ec7dc4658c88fb714bb29574cd9510091ba059553f79c52492037353caf50b6cff1f7bd1e2501e445c7adde41bd9e08bab363e06e9 EBUILD numpy-1.26.4.ebuild 5160 BLAKE2B 52a7676802baa6c09d2c61445253434394b20cd7c12e7c2d17ceab3f391e15c9e40ee3e1c0e37ee7fc300840910d79f070104aa99169040eb21cec6678ce5ac7 SHA512 daa4452207419e0fa283844a6c7fffb58b508db0be25a09087ea36dd8de476ca0c0b3b2dee16f47738a7e00e17a5efb288b64e558d649da71d3a47dbca7d8443 EBUILD numpy-2.0.0.ebuild 3365 BLAKE2B a116b9eed3bd13c9f0ecfbfb3810ca697c7914010fd40ab53a74dcad4678f2da916f7589551707fa35ceacf07e110a8e12a339b086c16aee7122c9c64f341646 SHA512 b01cebf19c34af332c49196f67d96d4952907756764c9adfd126fb58b8fa6ae92ec5a9566dc77e2d79150c076b6bd33a254859a553e504ddf650155a5a39e304 -EBUILD numpy-2.0.2-r1.ebuild 3651 BLAKE2B 5ef920dfbc92e3c38245d7baf70879e6140abb5fc8ec98d75fbc34cc99fc9a12fb9c75ac7a677aef3c457bc819a3337edf2dd02d8b2c76999570f859ae6ec4c8 SHA512 9f76b668194b7263d35b127e529e523f65b9a6fce6a1b38248de293a4cc558acf12205abac75c2a6c65563eb87f8558dbc8c1f2e9d30adc34127fe0422002f24 -EBUILD numpy-2.1.2.ebuild 3858 BLAKE2B 2b3b2b28a5ac88a1076c317b54bc43d00b3594fe47796c4c3394a8d0a7d199b38b953244c0be5d75c8badb5bbecbbb30512ad2778d28e67f658bebaf9228cc0d SHA512 5b734c82dd0193ab95ae25142a232e92d48692f3652ddb932e17e032b215341a6d9bc9a4c2fb3c9a1696a7afc2c2be9d2997c91cc5cfd819a370fff82ac26802 +EBUILD numpy-2.0.2-r1.ebuild 4978 BLAKE2B 8721cc7541b4c9915f3a7c01c2488ce08d0b2c9242394db03cc3309209c404ec865f79199a76211a25597aec9fcdbc86d0a7c7f4173d48bafe618710ea9c17d5 SHA512 958615b8207d4968776957433cfe8180649831ef07db712193f22ee40713ad2f8c9ccdecc233333bf915259601a513463ed2ebd9f2a9959bbdd9602f00c61d64 +EBUILD numpy-2.1.2.ebuild 5363 BLAKE2B 4978e48361013c84bac1b9d36a06c880b552fbebf306d83667d4dbf7c239f4728dc54dafee40a13ce81d037c4a656bf4ecf9f9fef7bcf76161e9e2996743c809 SHA512 7397421b80ba8117e86b80dc9ed8f43afdc72b19a6b6a8740242741f7cb0640e0c99ef1d5f6c0692a024c6213e15c2f974cef02f0432aa0236266ed3b39dbc65 MISC metadata.xml 932 BLAKE2B 7a4af31f613bab05ff542da48bf6ff1484d9df2459f559516e71329451dd739d3df0fead507c8033d94ab9ed516b68efe7f21819a8cd6ca303643d8c8bc34e86 SHA512 32cb8c1ab61521a02cbec38f6ea383f074e50d46aa3462ddcb85710f9d348e8e628cf2a5725e3cd921cc32f02885a1b5f02125639f0ec885384eeeff7f468a06 diff --git a/dev-python/numpy/numpy-2.0.2-r1.ebuild b/dev-python/numpy/numpy-2.0.2-r1.ebuild index b2f86a093db9..16b2628f9896 100644 --- a/dev-python/numpy/numpy-2.0.2-r1.ebuild +++ b/dev-python/numpy/numpy-2.0.2-r1.ebuild @@ -20,10 +20,10 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0/2" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +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? ( @@ -95,13 +95,55 @@ python_test() { typing/tests/test_typing.py # Uses huge amount of memory core/tests/test_mem_overlap.py - '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+=( - core/tests/test_cpu_features.py::Test_ARM_Features::test_features + _core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + case ${ARCH} in + arm) + EPYTEST_DESELECT+=( + # TODO: warnings + _core/tests/test_umath.py::TestSpecialFloats::test_unary_spurious_fpexception + + # TODO + _core/tests/test_function_base.py::TestLinspace::test_denormal_numbers + f2py/tests/test_kind.py::TestKind::test_real + f2py/tests/test_kind.py::TestKind::test_quad_precision + ) + ;& + ppc|x86) + EPYTEST_DESELECT+=( + # require too much memory + '_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + '_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + ) + ;; + esac + + if [[ ${CHOST} == powerpc64le-* ]]; then + EPYTEST_DESELECT+=( + # long double thingy + _core/tests/test_scalarprint.py::TestRealScalars::test_ppc64_ibm_double_double128 + ) + fi + + if use big-endian; then + EPYTEST_DESELECT+=( + # ppc64 + _core/tests/test_cpu_features.py::TestEnvPrivation::test_impossible_feature_enable + + # ppc64 and sparc + linalg/tests/test_linalg.py::TestDet::test_generalized_sq_cases + linalg/tests/test_linalg.py::TestDet::test_sq_cases + "f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]" + "f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]" + "f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]" + "f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]" ) fi diff --git a/dev-python/numpy/numpy-2.1.2.ebuild b/dev-python/numpy/numpy-2.1.2.ebuild index b2c954fbd4cb..ddb5d3e4058f 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 |