blob: e37ab399ed93cda042a126c228823927584f136b [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "A sophisticated Numeric Processing Package for Python"
2SECTION = "devel/python"
Brad Bishop79641f22019-09-10 07:20:22 -04003LICENSE = "BSD-3-Clause & BSD-2-Clause & PSF & Apache-2.0 & BSD & MIT"
Andrew Geissler475cb722020-07-10 16:00:51 -05004LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=643d4e90100b7abe468c4db88127b895"
Brad Bishop316dfdd2018-06-25 12:45:53 -04005
6SRCNAME = "numpy"
7
8SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \
9 file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \
Brad Bishopc342db32019-05-15 21:57:59 -040010 "
Andrew Geissler475cb722020-07-10 16:00:51 -050011SRC_URI[sha256sum] = "153cf8b0176e57a611931981acfe093d2f7fef623b48f91176efa199798a6b90"
Brad Bishop316dfdd2018-06-25 12:45:53 -040012
13UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases"
14UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
15
Andrew Geissler82c905d2020-04-13 13:39:40 -050016DEPENDS += "python3-cython-native"
17
Brad Bishop316dfdd2018-06-25 12:45:53 -040018S = "${WORKDIR}/numpy-${PV}"
19
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020CLEANBROKEN = "1"
21
Andrew Geissler475cb722020-07-10 16:00:51 -050022FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a ${PYTHON_SITEPACKAGES_DIR}/numpy/random/lib/*.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -040023
24# install what is needed for numpy.test()
25RDEPENDS_${PN} = "${PYTHON_PN}-unittest \
26 ${PYTHON_PN}-difflib \
27 ${PYTHON_PN}-pprint \
28 ${PYTHON_PN}-pickle \
29 ${PYTHON_PN}-shell \
30 ${PYTHON_PN}-nose \
31 ${PYTHON_PN}-doctest \
32 ${PYTHON_PN}-datetime \
33 ${PYTHON_PN}-distutils \
34 ${PYTHON_PN}-misc \
35 ${PYTHON_PN}-mmap \
36 ${PYTHON_PN}-netclient \
37 ${PYTHON_PN}-numbers \
38 ${PYTHON_PN}-pydoc \
39 ${PYTHON_PN}-pkgutil \
40 ${PYTHON_PN}-email \
41 ${PYTHON_PN}-compression \
42 ${PYTHON_PN}-ctypes \
43 ${PYTHON_PN}-threading \
Brad Bishop79641f22019-09-10 07:20:22 -040044 ${PYTHON_PN}-multiprocessing \
Brad Bishop316dfdd2018-06-25 12:45:53 -040045"
46
47RDEPENDS_${PN}_class-native = ""
48
49BBCLASSEXTEND = "native nativesdk"