summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-numpy_2.3.4.bb
diff options
context:
space:
mode:
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.bb79
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 @@
1SUMMARY = "A sophisticated Numeric Processing Package for Python"
2HOMEPAGE = "https://numpy.org/"
3DESCRIPTION = "NumPy is the fundamental package needed for scientific computing with Python."
4SECTION = "devel/python"
5LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF-2.0 & Apache-2.0 & MIT"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26080bf81b2662c7119d3ef28ae197fd"
7
8SRCNAME = "numpy"
9
10SRC_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 "
15SRC_URI[sha256sum] = "a7d018bfedb375a8d979ac758b120ba846a7fe764911a64465fd87b8729f4a6a"
16
17GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases"
18UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
19
20inherit pkgconfig ptest python_mesonpy github-releases cython
21
22S = "${UNPACKDIR}/numpy-${PV}"
23
24PACKAGECONFIG[svml] = "-Ddisable-svml=false,-Ddisable-svml=true"
25
26# the overflow tests fail with compiler-rt on aarch64
27LDFLAGS:append:toolchain-clang:aarch64 = " -rtlib=libgcc -unwindlib=libgcc"
28
29# Remove references to buildpaths from numpy's __config__.py
30do_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
42FILES:${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()
47RDEPENDS:${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"
68RDEPENDS:${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
79BBCLASSEXTEND = "native nativesdk"