diff options
| author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2016-06-08 05:56:11 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-12 23:47:16 +0100 |
| commit | 35fb16dd12efd83bda7d2b9d39a15efa0d6060d9 (patch) | |
| tree | b79d8d5dfe8415ba6824e648a24b7b0cb36ab52d /meta/recipes-devtools/python-numpy/python3-numpy_1.10.4.bb | |
| parent | 6aaeced07bf301f85a40093f5e4b8950f89740bc (diff) | |
| download | poky-35fb16dd12efd83bda7d2b9d39a15efa0d6060d9.tar.gz | |
python-numpy: Upgrade from 1.10.4 to 1.11.0
Upgrades python-numpy and python3-numpy to 1.11.0,
Drops using distutils class, to use setuptools class instead,
this fixes a problem where after compilation the package was created
as an egg, see YOCTO #8673
Fixes source location for both packages and also adds a new patch
to fix the shebang on the f2py script, see YOCTO #9729
(From OE-Core rev: dd756bb8fdff676dba312e38ebc90c4c89dfe855)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@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.10.4.bb')
| -rw-r--r-- | meta/recipes-devtools/python-numpy/python3-numpy_1.10.4.bb | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/meta/recipes-devtools/python-numpy/python3-numpy_1.10.4.bb b/meta/recipes-devtools/python-numpy/python3-numpy_1.10.4.bb deleted file mode 100644 index dcd23ac98d..0000000000 --- a/meta/recipes-devtools/python-numpy/python3-numpy_1.10.4.bb +++ /dev/null | |||
| @@ -1,101 +0,0 @@ | |||
| 1 | SUMMARY = "A sophisticated Numeric Processing Package for Python" | ||
| 2 | SECTION = "devel/python" | ||
| 3 | LICENSE = "PSF" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9f4e88b5748e8313caaf33d081ce65a3" | ||
| 5 | |||
| 6 | SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \ | ||
| 7 | file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ | ||
| 8 | file://remove-build-path-in-comments.patch \ | ||
| 9 | file://add-glibc-check.patch \ | ||
| 10 | ${CONFIGFILESURI} " | ||
| 11 | |||
| 12 | CONFIGFILESURI ?= "" | ||
| 13 | |||
| 14 | CONFIGFILESURI_aarch64 = " \ | ||
| 15 | file://config.h \ | ||
| 16 | file://_numpyconfig.h \ | ||
| 17 | " | ||
| 18 | CONFIGFILESURI_arm = " \ | ||
| 19 | file://config.h \ | ||
| 20 | file://numpyconfig.h \ | ||
| 21 | " | ||
| 22 | CONFIGFILESURI_armeb = " \ | ||
| 23 | file://config.h \ | ||
| 24 | file://numpyconfig.h \ | ||
| 25 | " | ||
| 26 | CONFIGFILESURI_mipsel = " \ | ||
| 27 | file://config.h \ | ||
| 28 | file://numpyconfig.h \ | ||
| 29 | " | ||
| 30 | CONFIGFILESURI_x86 = " \ | ||
| 31 | file://config.h \ | ||
| 32 | file://numpyconfig.h \ | ||
| 33 | " | ||
| 34 | CONFIGFILESURI_x86-64 = " \ | ||
| 35 | file://config.h \ | ||
| 36 | file://_numpyconfig.h \ | ||
| 37 | " | ||
| 38 | CONFIGFILESURI_mips = " \ | ||
| 39 | file://config.h \ | ||
| 40 | file://_numpyconfig.h \ | ||
| 41 | " | ||
| 42 | CONFIGFILESURI_powerpc = " \ | ||
| 43 | file://config.h \ | ||
| 44 | file://_numpyconfig.h \ | ||
| 45 | " | ||
| 46 | CONFIGFILESURI_powerpc64 = " \ | ||
| 47 | file://config.h \ | ||
| 48 | file://_numpyconfig.h \ | ||
| 49 | " | ||
| 50 | CONFIGFILESURI_mips64 = " \ | ||
| 51 | file://config.h \ | ||
| 52 | file://_numpyconfig.h \ | ||
| 53 | " | ||
| 54 | CONFIGFILESURI_mips64n32 = " \ | ||
| 55 | file://config.h \ | ||
| 56 | file://_numpyconfig.h \ | ||
| 57 | " | ||
| 58 | |||
| 59 | S = "${WORKDIR}/numpy-${PV}" | ||
| 60 | |||
| 61 | inherit distutils3 | ||
| 62 | |||
| 63 | # Make the build fail and replace *config.h with proper one | ||
| 64 | # This is a ugly, ugly hack - Koen | ||
| 65 | do_compile_prepend_class-target() { | ||
| 66 | ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py build ${DISTUTILS_BUILD_ARGS} || \ | ||
| 67 | true | ||
| 68 | cp ${WORKDIR}/*config.h ${S}/build/$(ls ${S}/build | grep src)/numpy/core/include/numpy/ | ||
| 69 | } | ||
| 70 | |||
| 71 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a" | ||
| 72 | |||
| 73 | SRC_URI[md5sum] = "90bb9034652cefbada19cf7d141a6a61" | ||
| 74 | SRC_URI[sha256sum] = "f7f91842056a7cf680b0eaf8cefc5e46c69e2521e651128d2e6aaaccec8652ae" | ||
| 75 | |||
| 76 | # install what is needed for numpy.test() | ||
| 77 | RDEPENDS_${PN} = "python3-unittest \ | ||
| 78 | python3-difflib \ | ||
| 79 | python3-pprint \ | ||
| 80 | python3-pickle \ | ||
| 81 | python3-shell \ | ||
| 82 | python3-nose \ | ||
| 83 | python3-doctest \ | ||
| 84 | python3-datetime \ | ||
| 85 | python3-distutils \ | ||
| 86 | python3-misc \ | ||
| 87 | python3-mmap \ | ||
| 88 | python3-netclient \ | ||
| 89 | python3-numbers \ | ||
| 90 | python3-pydoc \ | ||
| 91 | python3-pkgutil \ | ||
| 92 | python3-email \ | ||
| 93 | python3-subprocess \ | ||
| 94 | python3-compression \ | ||
| 95 | python3-ctypes \ | ||
| 96 | python3-threading \ | ||
| 97 | " | ||
| 98 | |||
| 99 | RDEPENDS_${PN}_class-native = "" | ||
| 100 | |||
| 101 | BBCLASSEXTEND = "native nativesdk" | ||
