summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb')
-rw-r--r--meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb61
1 files changed, 61 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb b/meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb
new file mode 100644
index 0000000000..2e4bd6ad24
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb
@@ -0,0 +1,61 @@
1DESCRIPTION = "A sophisticated Numeric Processing Package for Python"
2SECTION = "devel/python"
3LICENSE = "PSF"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f87832d854acbade6e9f5c601c8b30b1"
5PR = "r0"
6PV = "1.6.99+1.7.0rc1"
7REALPV = "1.7.0rc1"
8
9SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${REALPV}.tar.gz \
10 ${CONFIGFILESURI} \
11 file://aarch64.patch \
12 "
13CONFIGFILESURI ?= ""
14
15CONFIGFILESURI_aarch64 = "file://config.h \
16 file://_numpyconfig.h \
17 "
18CONFIGFILESURI_arm = "file://config.h \
19 file://numpyconfig.h \
20 "
21CONFIGFILESURI_mipsel = "file://config.h \
22 file://numpyconfig.h \
23 "
24
25S = "${WORKDIR}/numpy-${REALPV}"
26
27inherit distutils
28
29# Make the build fail and replace *config.h with proper one
30# This is a ugly, ugly hack - Koen
31do_compile_prepend() {
32 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
33 ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
34 true
35 cp ${WORKDIR}/*config.h ${S}/build/$(ls ${S}/build | grep src)/numpy/core/include/numpy/
36}
37
38FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a"
39SRC_URI[md5sum] = "a4719f5a1853bc0f8892a5956d5c4229"
40SRC_URI[sha256sum] = "45ea23622f72d86bc3614446d668ee962c0475ee7b91a93ef85a5e0493962de5"
41
42# install what is needed for numpy.test()
43RDEPENDS_${PN} = "python-unittest \
44 python-difflib \
45 python-pprint \
46 python-pickle \
47 python-shell \
48 python-nose \
49 python-doctest \
50 python-datetime \
51 python-distutils \
52 python-misc \
53 python-mmap \
54 python-netclient \
55 python-numbers \
56 python-pydoc \
57 python-pkgutil \
58 python-email \
59 python-subprocess \
60 python-compression \
61 "