summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb')
-rw-r--r--meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb87
1 files changed, 0 insertions, 87 deletions
diff --git a/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb b/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb
deleted file mode 100644
index bd3a464dd5..0000000000
--- a/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb
+++ /dev/null
@@ -1,87 +0,0 @@
1DESCRIPTION = "A sophisticated Numeric Processing Package for Python"
2SECTION = "devel/python"
3LICENSE = "PSF"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f87832d854acbade6e9f5c601c8b30b1"
5PR = "r1"
6
7SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
8 ${CONFIGFILESURI} "
9
10CONFIGFILESURI ?= ""
11
12CONFIGFILESURI_aarch64 = " \
13 file://config.h \
14 file://_numpyconfig.h \
15"
16CONFIGFILESURI_arm = " \
17 file://config.h \
18 file://numpyconfig.h \
19"
20CONFIGFILESURI_armeb = " \
21 file://config.h \
22 file://numpyconfig.h \
23"
24CONFIGFILESURI_mipsel = " \
25 file://config.h \
26 file://numpyconfig.h \
27"
28CONFIGFILESURI_i586 = " \
29 file://config.h \
30 file://numpyconfig.h \
31"
32CONFIGFILESURI_x86-64 = " \
33 file://config.h \
34 file://_numpyconfig.h \
35"
36
37CONFIGFILESURI_powerpc = " \
38 file://config.h \
39 file://numpyconfig.h \
40"
41CONFIGFILESURI_powerpc64 = " \
42 file://config.h \
43 file://_numpyconfig.h \
44"
45
46S = "${WORKDIR}/numpy-${PV}"
47
48inherit distutils
49
50# Make the build fail and replace *config.h with proper one
51# This is a ugly, ugly hack - Koen
52do_compile_prepend_class-target() {
53 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
54 ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
55 true
56 cp ${WORKDIR}/*config.h ${S}/build/$(ls ${S}/build | grep src)/numpy/core/include/numpy/
57}
58
59FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a"
60
61SRC_URI[md5sum] = "4fa54e40b6a243416f0248123b6ec332"
62SRC_URI[sha256sum] = "f4fa70b7edbab65ee6432eb63743f5489f1919c614632b20b2fb45aa7e682ac6"
63
64# install what is needed for numpy.test()
65RDEPENDS_${PN} = "python-unittest \
66 python-difflib \
67 python-pprint \
68 python-pickle \
69 python-shell \
70 python-nose \
71 python-doctest \
72 python-datetime \
73 python-distutils \
74 python-misc \
75 python-mmap \
76 python-netclient \
77 python-numbers \
78 python-pydoc \
79 python-pkgutil \
80 python-email \
81 python-subprocess \
82 python-compression \
83"
84
85RDEPENDS_${PN}_class-native = ""
86
87BBCLASSEXTEND = "native nativesdk"