summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python-numpy/python3-numpy_1.13.3.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2018-03-08 20:18:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-09 09:17:04 -0800
commite5f5aa5604a7617af839832ded457c8a824bcf2f (patch)
tree00e727d032b3abaaf545d07c578d80e415abfd79 /meta/recipes-devtools/python-numpy/python3-numpy_1.13.3.bb
parentd1d088db2879f1fefeebda0da815c1138fa52256 (diff)
downloadpoky-e5f5aa5604a7617af839832ded457c8a824bcf2f.tar.gz
python-numpy: update to 1.14.1
Drop backported 0001-BUG-fix-infinite-loop-when-creating-np.pad-on-an-emp.patch. Drop 0001-BUG-fix-infinite-loop-when-creating-np.pad-on-an-emp.patch as upstream is using os.path.basename() instead now. License-Update: License.txt file was update to list licenses of individual components; not all of them are 3-clause BSD. (From OE-Core rev: c70d1c07e4e697156bd49c43e2cc800f3085b182) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/python3-numpy_1.13.3.bb')
-rw-r--r--meta/recipes-devtools/python-numpy/python3-numpy_1.13.3.bb113
1 files changed, 0 insertions, 113 deletions
diff --git a/meta/recipes-devtools/python-numpy/python3-numpy_1.13.3.bb b/meta/recipes-devtools/python-numpy/python3-numpy_1.13.3.bb
deleted file mode 100644
index 553b0fac7f..0000000000
--- a/meta/recipes-devtools/python-numpy/python3-numpy_1.13.3.bb
+++ /dev/null
@@ -1,113 +0,0 @@
1SUMMARY = "A sophisticated Numeric Processing Package for Python"
2SECTION = "devel/python"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1002b09cd654fcaa2dcc87535acd9a96"
5
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 \
10 file://remove-build-path-in-comments.patch \
11 file://fix_shebang_f2py.patch \
12 file://0001-BUG-fix-infinite-loop-when-creating-np.pad-on-an-emp.patch \
13 ${CONFIGFILESURI} "
14SRC_URI[md5sum] = "c1d433e5973e548809e80c9118474b73"
15SRC_URI[sha256sum] = "4c6b4eef790528bebb7ec9590d74cc193868940fe68e4109a91c196df72d8094"
16
17UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases"
18UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
19
20CONFIGFILESURI ?= ""
21
22CONFIGFILESURI_aarch64 = " \
23 file://config.h \
24 file://_numpyconfig.h \
25"
26CONFIGFILESURI_arm = " \
27 file://config.h \
28 file://numpyconfig.h \
29"
30CONFIGFILESURI_armeb = " \
31 file://config.h \
32 file://numpyconfig.h \
33"
34CONFIGFILESURI_mipsarcho32el = " \
35 file://config.h \
36 file://numpyconfig.h \
37"
38CONFIGFILESURI_x86 = " \
39 file://config.h \
40 file://numpyconfig.h \
41"
42CONFIGFILESURI_x86-64 = " \
43 file://config.h \
44 file://_numpyconfig.h \
45"
46CONFIGFILESURI_mipsarcho32eb = " \
47 file://config.h \
48 file://_numpyconfig.h \
49"
50CONFIGFILESURI_powerpc = " \
51 file://config.h \
52 file://_numpyconfig.h \
53"
54CONFIGFILESURI_powerpc64 = " \
55 file://config.h \
56 file://_numpyconfig.h \
57"
58CONFIGFILESURI_mipsarchn64eb = " \
59 file://config.h \
60 file://_numpyconfig.h \
61"
62CONFIGFILESURI_mipsarchn64el = " \
63 file://config.h \
64 file://_numpyconfig.h \
65"
66CONFIGFILESURI_mipsarchn32eb = " \
67 file://config.h \
68 file://_numpyconfig.h \
69"
70CONFIGFILESURI_mipsarchn32el = " \
71 file://config.h \
72 file://_numpyconfig.h \
73"
74
75S = "${WORKDIR}/numpy-${PV}"
76
77inherit setuptools3
78
79# Make the build fail and replace *config.h with proper one
80# This is a ugly, ugly hack - Koen
81do_compile_prepend_class-target() {
82 ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py build ${DISTUTILS_BUILD_ARGS} || \
83 true
84 cp ${WORKDIR}/*config.h ${S}/build/$(ls ${S}/build | grep src)/numpy/core/include/numpy/
85}
86
87FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a"
88
89# install what is needed for numpy.test()
90RDEPENDS_${PN} = "python3-unittest \
91 python3-difflib \
92 python3-pprint \
93 python3-pickle \
94 python3-shell \
95 python3-nose \
96 python3-doctest \
97 python3-datetime \
98 python3-distutils \
99 python3-misc \
100 python3-mmap \
101 python3-netclient \
102 python3-numbers \
103 python3-pydoc \
104 python3-pkgutil \
105 python3-email \
106 python3-compression \
107 python3-ctypes \
108 python3-threading \
109"
110
111RDEPENDS_${PN}_class-native = ""
112
113BBCLASSEXTEND = "native nativesdk"