[oe-commits] org.oe.dev python-numpy: fix wrong include paths, but it still tries to run generated code during configure

koen commit oe at amethyst.openembedded.net
Mon Sep 1 18:35:43 UTC 2008


python-numpy: fix wrong include paths, but it still tries to run generated code during configure
* it wraps scons with distutils. crazy python dudes

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 7f449012b5dea459d8330f366666ccd94cf1f0f1
ViewMTN: http://monotone.openembedded.org/revision/info/7f449012b5dea459d8330f366666ccd94cf1f0f1
Files:
1
packages/python/python-numpy
packages/python/python-numpy/unbreak-assumptions.diff
packages/python/python-numpy_1.1.1.bb
Diffs:

#
# mt diff -r81f284310c579e1cc823cf022df435bc74f0d384 -r7f449012b5dea459d8330f366666ccd94cf1f0f1
#
#
#
# add_dir "packages/python/python-numpy"
# 
# add_file "packages/python/python-numpy/unbreak-assumptions.diff"
#  content [6996e1b97e95117f993aa59e14e645e5dadcb076]
# 
# patch "packages/python/python-numpy_1.1.1.bb"
#  from [94d5ee7200a201465655e3946ebf7b020628cd9b]
#    to [bb077493a3e8852e6547319161e595c4622bcfc5]
#
============================================================
--- packages/python/python-numpy/unbreak-assumptions.diff	6996e1b97e95117f993aa59e14e645e5dadcb076
+++ packages/python/python-numpy/unbreak-assumptions.diff	6996e1b97e95117f993aa59e14e645e5dadcb076
@@ -0,0 +1,16 @@
+--- /tmp/system_info.py	2008-08-22 00:38:16.000000000 +0200
++++ numpy-1.1.1/numpy/distutils/system_info.py	2008-08-22 00:40:33.013198000 +0200
+@@ -137,11 +137,8 @@
+     default_x11_lib_dirs = []
+     default_x11_include_dirs = []
+ else:
+-    default_lib_dirs = ['/usr/local/lib', '/opt/lib', '/usr/lib',
+-                        '/opt/local/lib', '/sw/lib']
+-    default_include_dirs = ['/usr/local/include',
+-                            '/opt/include', '/usr/include',
+-                            '/opt/local/include', '/sw/include']
++    default_lib_dirs = ['/non-existant-dir']
++    default_include_dirs = ['non-existant-dir']
+     default_src_dirs = ['.','/usr/local/src', '/opt/src','/sw/src']
+ 
+     try:
============================================================
--- packages/python/python-numpy_1.1.1.bb	94d5ee7200a201465655e3946ebf7b020628cd9b
+++ packages/python/python-numpy_1.1.1.bb	bb077493a3e8852e6547319161e595c4622bcfc5
@@ -5,7 +5,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/n
 PR = "ml0"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
-          "
+           file://unbreak-assumptions.diff;patch=1 \
+	   "
+
 S = "${WORKDIR}/numpy-${PV}"
 
 inherit distutils






More information about the Openembedded-commits mailing list