[oe-commits] Florian Boor : python-numpy: Add release 1.6.1

git at git.openembedded.org git at git.openembedded.org
Thu Sep 27 16:06:52 UTC 2012


Module: openembedded.git
Branch: master
Commit: 9ecf1f9fa8c60dd47b4a4970f8fa88ef73cac769
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=9ecf1f9fa8c60dd47b4a4970f8fa88ef73cac769

Author: Florian Boor <florian.boor at kernelconcepts.de>
Date:   Sun Jan  1 15:49:34 2012 +0100

python-numpy: Add release 1.6.1

    The new release fixes issues on PowerPC platforms

Signed-off-by: Florian Boor <florian.boor at kernelconcepts.de>

---

 recipes/python/python-numpy_1.6.1.bb |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/recipes/python/python-numpy_1.6.1.bb b/recipes/python/python-numpy_1.6.1.bb
new file mode 100644
index 0000000..06171fc
--- /dev/null
+++ b/recipes/python/python-numpy_1.6.1.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "A sophisticated Numeric Processing Package for Python"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "PSF"
+PR = "ml0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
+	   file://config.h \
+	   file://numpyconfig.h \
+	  "
+
+S = "${WORKDIR}/numpy-${PV}"
+
+inherit distutils
+
+# Make the build fail and replace *config.h with proper one
+# This is a ugly, ugly hack - Koen
+do_compile_prepend() {
+         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+         ${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
+         true
+	 cp ${WORKDIR}/*config.h ${S}/build/$(ls ${S}/build | grep src)/numpy/core/include/numpy/
+}
+
+SRC_URI[md5sum] = "2bce18c08fc4fce461656f0f4dd9103e"
+SRC_URI[sha256sum] = "788b1bc712ee566d4b4d62ef99736c5830fa264cbc56f8651ded1e795c755cdd"





More information about the Openembedded-commits mailing list