summaryrefslogtreecommitdiff
path: root/math/py-numpy/files/patch-numpy-distutils-system_info.py
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2007-02-09 18:54:54 +0000
committerDiane Bruce <db@FreeBSD.org>2007-02-09 18:54:54 +0000
commit8c1ef3292fd261803d56707c5591fa4ef0e13567 (patch)
treed32f1a8e3348a458d6ea3443f2743666e5d2a307 /math/py-numpy/files/patch-numpy-distutils-system_info.py
parent- Update to version 2.0.4. (diff)
- finish g77 to gfortran conversion
- change maintainer address to FreeBSD.org one - fold in changes suggested by [1] PR: 107022, 108807 (based on) [1] Submitted by: thinker@heaven.branda.to [1] Approved by: ehaupt (mentor)
Notes
Notes: svn path=/head/; revision=184729
Diffstat (limited to 'math/py-numpy/files/patch-numpy-distutils-system_info.py')
-rw-r--r--math/py-numpy/files/patch-numpy-distutils-system_info.py21
1 files changed, 20 insertions, 1 deletions
diff --git a/math/py-numpy/files/patch-numpy-distutils-system_info.py b/math/py-numpy/files/patch-numpy-distutils-system_info.py
index c0615d0d0386..61723c4174ed 100644
--- a/math/py-numpy/files/patch-numpy-distutils-system_info.py
+++ b/math/py-numpy/files/patch-numpy-distutils-system_info.py
@@ -1,5 +1,5 @@
--- numpy/distutils/system_info.py.orig Tue Oct 3 00:35:22 2006
-+++ numpy/distutils/system_info.py Sat Dec 9 22:51:47 2006
++++ numpy/distutils/system_info.py Sun Feb 4 19:46:15 2007
@@ -860,6 +860,8 @@
atlas_1 = None
for d in lib_dirs:
@@ -9,3 +9,22 @@
lapack_atlas = self.check_libs2(d,['lapack_atlas'],[])
if atlas is not None:
lib_dirs2 = [d] + self.combine_paths(d,['atlas*','ATLAS*'])
+@@ -935,6 +937,7 @@
+ else:
+ info['language'] = 'f77'
+
++ info['language'] = 'f77'
+ self.set_info(**info)
+
+ class atlas_blas_info(atlas_info):
+@@ -1188,8 +1191,9 @@
+ atlas_version = None
+ need_lapack = 0
+ need_blas = 0
++ lapack_type = self.cp.get(self.section, 'lapack_type').strip()
+ info = {}
+- if atlas_info:
++ if lapack_type == 'atlas' and atlas_info:
+ version_info = atlas_info.copy()
+ atlas_version = get_atlas_version(**version_info)
+ if not atlas_info.has_key('define_macros'):