numpy-py stable port information

Info2: <<
Package: numpy-py%type_pkg[python]
Version: 1.6.1
Revision: 2
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Maintainer: Sebastien Maret
Type: python (2.4 2.5 2.6 2.7 3.1 3.2)
Depends: python%type_pkg[python], nose-py%type_pkg[python]
BuildDepends: fink (>= 0.24.12)
Source: mirror:sourceforge:numpy/numpy-%v.tar.gz
Source-MD5: 2bce18c08fc4fce461656f0f4dd9103e
PatchFile: numpy-py.patch
PatchFile-MD5: 7eefeed37202512153e6dee2fa3f4d50
Conflicts: f2py-py%type_pkg[python], scipy-py%type_pkg[python] (<= 1:0.4)
Replaces: f2py-py%type_pkg[python], scipy-py%type_pkg[python] (<= 1:0.4), scipy-core-py%type_pkg[python] (<< 1.3.0-6)
Provides: f2py-py%type_pkg[python]
CompileScript: <<
%p/bin/python%type_raw[python] setup.py build
<<
InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --root %d
<<
DocFiles: README.txt LICENSE.txt
Description: N-dimensional array package for Python
DescDetail: <<
NumPy (formerly known as scipy_core) is the fundamental package needed
for scientific computing with Python. It contains among other things:

- a powerful N-dimensional array object
- sophisticated (broadcasting) functions
- tools for integrating C/C++ and Fortran code
- useful linear algebra, Fourier transform, and random number capabilities.

Besides its obvious scientific uses, NumPy can also be used as an
efficient multi-dimensional container of generic data. Arbitrary
data-types can be defined. This allows NumPy to seamlessly and
speedily integrate with a wide variety of databases.
<<
License: OSI-Approved
Homepage: http://www.numpy.org
<<

numpy-py stable port .patch

--- numpy-1.6.0/numpy/distutils/system_info.py.orig 2011-07-23 10:10:06.000000000 -0400
+++ numpy-1.6.0/numpy/distutils/system_info.py 2011-07-23 10:10:53.000000000 -0400
@@ -1287,7 +1287,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
@@ -1374,7 +1374,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

numpy-py _unstable_ port .patch