diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-numpy_2.3.4.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-numpy_2.3.4.bb | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/meta/recipes-devtools/python/python3-numpy_2.3.4.bb b/meta/recipes-devtools/python/python3-numpy_2.3.4.bb deleted file mode 100644 index 7f82ca87a7..0000000000 --- a/meta/recipes-devtools/python/python3-numpy_2.3.4.bb +++ /dev/null | |||
| @@ -1,79 +0,0 @@ | |||
| 1 | SUMMARY = "A sophisticated Numeric Processing Package for Python" | ||
| 2 | HOMEPAGE = "https://numpy.org/" | ||
| 3 | DESCRIPTION = "NumPy is the fundamental package needed for scientific computing with Python." | ||
| 4 | SECTION = "devel/python" | ||
| 5 | LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF-2.0 & Apache-2.0 & MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26080bf81b2662c7119d3ef28ae197fd" | ||
| 7 | |||
| 8 | SRCNAME = "numpy" | ||
| 9 | |||
| 10 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ | ||
| 11 | file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ | ||
| 12 | file://fix_reproducibility.patch \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | SRC_URI[sha256sum] = "a7d018bfedb375a8d979ac758b120ba846a7fe764911a64465fd87b8729f4a6a" | ||
| 16 | |||
| 17 | GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases" | ||
| 18 | UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$" | ||
| 19 | |||
| 20 | inherit pkgconfig ptest python_mesonpy github-releases cython | ||
| 21 | |||
| 22 | S = "${UNPACKDIR}/numpy-${PV}" | ||
| 23 | |||
| 24 | PACKAGECONFIG[svml] = "-Ddisable-svml=false,-Ddisable-svml=true" | ||
| 25 | |||
| 26 | # the overflow tests fail with compiler-rt on aarch64 | ||
| 27 | LDFLAGS:append:toolchain-clang:aarch64 = " -rtlib=libgcc -unwindlib=libgcc" | ||
| 28 | |||
| 29 | # Remove references to buildpaths from numpy's __config__.py | ||
| 30 | do_install:append() { | ||
| 31 | sed -i \ | ||
| 32 | -e 's|${S}=||g' \ | ||
| 33 | -e 's|${B}=||g' \ | ||
| 34 | -e 's|${RECIPE_SYSROOT_NATIVE}=||g' \ | ||
| 35 | -e 's|${RECIPE_SYSROOT_NATIVE}||g' \ | ||
| 36 | -e 's|${RECIPE_SYSROOT}=||g' \ | ||
| 37 | -e 's|${RECIPE_SYSROOT}||g' ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py | ||
| 38 | |||
| 39 | nativepython3 -mcompileall -s ${D} ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py | ||
| 40 | } | ||
| 41 | |||
| 42 | FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/_core/lib/*.a \ | ||
| 43 | ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a \ | ||
| 44 | " | ||
| 45 | |||
| 46 | # install what is needed for numpy.test() | ||
| 47 | RDEPENDS:${PN} = "\ | ||
| 48 | python3-compression \ | ||
| 49 | python3-ctypes \ | ||
| 50 | python3-datetime \ | ||
| 51 | python3-difflib \ | ||
| 52 | python3-doctest \ | ||
| 53 | python3-email \ | ||
| 54 | python3-json \ | ||
| 55 | python3-misc \ | ||
| 56 | python3-mmap \ | ||
| 57 | python3-multiprocessing \ | ||
| 58 | python3-netclient \ | ||
| 59 | python3-numbers \ | ||
| 60 | python3-pickle \ | ||
| 61 | python3-pkgutil \ | ||
| 62 | python3-pprint \ | ||
| 63 | python3-pydoc \ | ||
| 64 | python3-shell \ | ||
| 65 | python3-threading \ | ||
| 66 | python3-unittest \ | ||
| 67 | " | ||
| 68 | RDEPENDS:${PN}-ptest += "\ | ||
| 69 | ldd \ | ||
| 70 | meson \ | ||
| 71 | python3-hypothesis \ | ||
| 72 | python3-pytest \ | ||
| 73 | python3-resource \ | ||
| 74 | python3-sortedcontainers \ | ||
| 75 | python3-typing-extensions \ | ||
| 76 | python3-unittest-automake-output \ | ||
| 77 | " | ||
| 78 | |||
| 79 | BBCLASSEXTEND = "native nativesdk" | ||
