[66685] trunk/dports/python/py25-numpy

ram at macports.org ram at macports.org
Tue Apr 20 05:57:18 PDT 2010


Revision: 66685
          http://trac.macports.org/changeset/66685
Author:   ram at macports.org
Date:     2010-04-20 05:57:17 -0700 (Tue, 20 Apr 2010)
Log Message:
-----------
python/numpy: fix for #24550

Modified Paths:
--------------
    trunk/dports/python/py25-numpy/Portfile

Added Paths:
-----------
    trunk/dports/python/py25-numpy/files/patch-system_info.py.diff

Modified: trunk/dports/python/py25-numpy/Portfile
===================================================================
--- trunk/dports/python/py25-numpy/Portfile	2010-04-20 10:55:10 UTC (rev 66684)
+++ trunk/dports/python/py25-numpy/Portfile	2010-04-20 12:57:17 UTC (rev 66685)
@@ -5,6 +5,7 @@
 
 name                py25-numpy
 version             1.4.0
+revision            1
 categories          python
 platforms           darwin
 maintainers         ram openmaintainer
@@ -20,7 +21,8 @@
                     rmd160 313502001e1d30e8b218b5b02f6a1d8387407f3c
 
 patchfiles          patch-g95_link.diff \
-                    patch-f2py_setup.py.diff
+                    patch-f2py_setup.py.diff \
+                    patch-system_info.py.diff
 
 depends_lib-append  port:fftw-3 \
                     port:py25-nose \

Added: trunk/dports/python/py25-numpy/files/patch-system_info.py.diff
===================================================================
--- trunk/dports/python/py25-numpy/files/patch-system_info.py.diff	                        (rev 0)
+++ trunk/dports/python/py25-numpy/files/patch-system_info.py.diff	2010-04-20 12:57:17 UTC (rev 66685)
@@ -0,0 +1,20 @@
+--- numpy/distutils/system_info.py.orig	2010-01-12 16:46:35.000000000 +0300
++++ numpy/distutils/system_info.py	2010-01-12 16:49:39.000000000 +0300
+@@ -1243,7 +1243,7 @@
+         if sys.platform=='darwin' and not os.environ.get('ATLAS',None):
+             args = []
+             link_args = []
+-            if get_platform()[-4:] == 'i386':
++            if get_platform().rsplit('-', 1)[1] in ('i386', 'x86_64', 'intel'):
+                 intel = 1
+             else:
+                 intel = 0
+@@ -1340,7 +1340,7 @@
+         if sys.platform=='darwin' and not os.environ.get('ATLAS',None):
+             args = []
+             link_args = []
+-            if get_platform()[-4:] == 'i386':
++            if get_platform().rsplit('-', 1)[1] in ('i386', 'x86_64', 'intel'):
+                 intel = 1
+             else:
+                 intel = 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100420/45ab2502/attachment.html>


More information about the macports-changes mailing list