diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-02-06 22:53:13 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-08 14:20:18 +0000 |
| commit | 81cfa7d0e01d22a9acebcef7e23b8a4f67d2275d (patch) | |
| tree | d3d124fb0f74b3bbcb6b0cb87b29349996693a0d /meta/recipes-devtools/python/python3-numpy_1.22.2.bb | |
| parent | a39d3f2ed7168e067d171c21a24c743bfd38466b (diff) | |
| download | poky-81cfa7d0e01d22a9acebcef7e23b8a4f67d2275d.tar.gz | |
python3-numpy: update 1.22.1 -> 1.22.2
Replace an ad hoc fix via patch with an upstream one.
(From OE-Core rev: 991f8617b9ca9680b3f81cb215e3b39095260e7c)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-numpy_1.22.2.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-numpy_1.22.2.bb | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-numpy_1.22.2.bb b/meta/recipes-devtools/python/python3-numpy_1.22.2.bb new file mode 100644 index 0000000000..ba0a777551 --- /dev/null +++ b/meta/recipes-devtools/python/python3-numpy_1.22.2.bb | |||
| @@ -0,0 +1,63 @@ | |||
| 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 & Apache-2.0 & MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8026691468924fb6ec155dadfe2a1a7f" | ||
| 7 | |||
| 8 | SRCNAME = "numpy" | ||
| 9 | |||
| 10 | SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ | ||
| 11 | file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ | ||
| 12 | file://0001-numpy-core-Define-RISCV-32-support.patch \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | SRC_URI[sha256sum] = "093d513a460fd94f94c16193c3ef29b2d69a33e482071e3d6d6e561a700587a6" | ||
| 16 | |||
| 17 | UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases" | ||
| 18 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" | ||
| 19 | |||
| 20 | DEPENDS += "python3-cython-native" | ||
| 21 | |||
| 22 | inherit ptest setuptools3 | ||
| 23 | |||
| 24 | S = "${WORKDIR}/numpy-${PV}" | ||
| 25 | |||
| 26 | CLEANBROKEN = "1" | ||
| 27 | |||
| 28 | do_compile:prepend() { | ||
| 29 | export NPY_DISABLE_SVML=1 | ||
| 30 | } | ||
| 31 | |||
| 32 | FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a" | ||
| 33 | |||
| 34 | # install what is needed for numpy.test() | ||
| 35 | RDEPENDS:${PN} = "${PYTHON_PN}-unittest \ | ||
| 36 | ${PYTHON_PN}-difflib \ | ||
| 37 | ${PYTHON_PN}-pprint \ | ||
| 38 | ${PYTHON_PN}-pickle \ | ||
| 39 | ${PYTHON_PN}-shell \ | ||
| 40 | ${PYTHON_PN}-doctest \ | ||
| 41 | ${PYTHON_PN}-datetime \ | ||
| 42 | ${PYTHON_PN}-distutils \ | ||
| 43 | ${PYTHON_PN}-misc \ | ||
| 44 | ${PYTHON_PN}-mmap \ | ||
| 45 | ${PYTHON_PN}-netclient \ | ||
| 46 | ${PYTHON_PN}-numbers \ | ||
| 47 | ${PYTHON_PN}-pydoc \ | ||
| 48 | ${PYTHON_PN}-pkgutil \ | ||
| 49 | ${PYTHON_PN}-email \ | ||
| 50 | ${PYTHON_PN}-compression \ | ||
| 51 | ${PYTHON_PN}-ctypes \ | ||
| 52 | ${PYTHON_PN}-threading \ | ||
| 53 | ${PYTHON_PN}-multiprocessing \ | ||
| 54 | ${PYTHON_PN}-json \ | ||
| 55 | " | ||
| 56 | RDEPENDS:${PN}-ptest += "${PYTHON_PN}-pytest \ | ||
| 57 | ${PYTHON_PN}-hypothesis \ | ||
| 58 | ${PYTHON_PN}-sortedcontainers \ | ||
| 59 | ${PYTHON_PN}-resource \ | ||
| 60 | ldd \ | ||
| 61 | " | ||
| 62 | |||
| 63 | BBCLASSEXTEND = "native nativesdk" | ||
