numarray-py stable port information

Info2: <<

Package: numarray-py%type_pkg[python]
Version: 1.5.2
Revision: 2
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Maintainer: None
Type: python (2.3 2.4 2.5 2.6 2.7)
BuildDepends: fink (>= 0.24.12-1)
Depends: python%type_pkg[python] | python%type_pkg[python]-nox
Source: mirror:sourceforge:numpy/numarray-%v.tar.gz
Source-MD5: d2ecfc60fe4869c328b872540d04e0f7
PatchFile: numarray-py.patch
PatchFile-MD5: 0b0f38f6f430551f4efa9bd2b7e60794
CompileScript: <<
#!/bin/sh -ev
export USE_LAPACK=1
export LINALG_INCLUDE="/System/Library/Frameworks/vecLib.framework/Headers/"
%p/bin/python%type_raw[python] setup.py build --gencode
<<
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: <<
Numarray is an implementation of an array object for Python written
after Numeric and before NumPy. It is being phased out and replaced by
NumPy.
<<
DescPackaging: <<
Originally packaged by Jeffrey Whitaker.
<<
License: OSI-Approved
Homepage: http://numpy.scipy.org/old_array_packages.html

<<

numarray-py stable port .patch

diff -ruN --exclude='*~' numarray-1.5.2/Src/libnumarray.ch numarray-1.5.2.patched/Src/libnumarray.ch
--- numarray-1.5.2/Src/libnumarray.ch 2006-08-24 20:38:15.000000000 +0200
+++ numarray-1.5.2.patched/Src/libnumarray.ch 2008-04-25 22:49:54.000000000 +0200
@@ -877,6 +877,7 @@
if (!buf) return NULL;
} else {
buf = Py_None;
+ Py_INCREF(buf);
}

a = NA_NewAllFromBuffer( nd, dimensions, descr->type_num, buf,

numarray-py _unstable_ port .patch