| SUMMARY = "A sophisticated Numeric Processing Package for Python" |
| LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF & Apache-2.0 & BSD & MIT" |
| LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=643d4e90100b7abe468c4db88127b895" |
| SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ |
| file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ |
| SRC_URI[sha256sum] = "1396e6c3d20cbfc119195303b0272e749610b7042cc498be4134f013e9a3215c" |
| UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases" |
| UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" |
| DEPENDS += "python3-cython-native" |
| S = "${WORKDIR}/numpy-${PV}" |
| FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a" |
| # install what is needed for numpy.test() |
| RDEPENDS_${PN} = "${PYTHON_PN}-unittest \ |
| ${PYTHON_PN}-compression \ |
| ${PYTHON_PN}-multiprocessing \ |
| RDEPENDS_${PN}_class-native = "" |
| BBCLASSEXTEND = "native nativesdk" |