the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: scipy-py%type_pkg[python]
Version: 0.10.0
Epoch: 1
Revision: 1
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.6 2.7 3.1 3.2)
Depends: numpy-py%type_pkg[python] (>= 1.6.1-1), python%type_pkg[python], fftw3-shlibs, gcc46-shlibs, x11-shlibs
BuildDepends: fink (>= 0.24.12), fftw3, gcc46, djbfft (>= 0.76-3), x11-dev, swig, suitesparse (>= 3.6.1)
Source: mirror:sourceforge:scipy/scipy-%v.tar.gz
Source-MD5: e357c08425fd031dce63bc4905789088
PatchFile: scipy-py.patch
PatchFile-MD5: 06beefa74b2b1a016dcf0ca4780a8471
PatchScript: <<
#!/bin/bash -ev
sed -i.bak -e 's,
cat <
[umfpack]
umfpack_libs = umfpack, colamd, cholmod, amd
EOF
<<
CompileScript: <<
#!/bin/sh -ev
export FFLAGS=-ff2c
unset LDFLAGS
%p/bin/python%type_raw[python] setup.py build --fcompiler=gnu95
<<
InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --root %d
<<
DocFiles: INSTALL.txt LICENSE.txt
Description: Scientific tools for Python
DescDetail: <<
SciPy (pronounced "Sigh Pie") is open-source software for mathematics,
science, and engineering. It is also the name of a very popular
conference on scientific programming with Python. The SciPy library
depends on NumPy, which provides convenient and fast N-dimensional
array manipulation. The SciPy library is built to work with NumPy
arrays, and provides many user-friendly and efficient numerical
routines such as routines for numerical integration and
optimization. Together, they run on all popular operating systems, are
quick to install, and are free of charge. NumPy and SciPy are easy to
use, but powerful enough to be depended upon by some of the world's
leading scientists and engineers. If you need to manipulate numbers on
a computer and display or publish the results, give SciPy a try!
<<
DescPackaging: <<
The LDFLAGS environment variable is unset, because it overwrites the
link options, including the ones which provide the libpython2.5
library.
The patch script allow to compile scipy-py with the suitesparse
packagee installed. See:
http://thread.gmane.org/gmane.os.macosx.fink.user/28476
Originally packaged by Jeffrey Whitaker.
<<
License: OSI-Approved
Homepage: http://www.scipy.org
<<
--- scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c.orig 2011-07-23 09:13:17.000000000 -0400
+++ scipy-0.9.0/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c 2011-07-23 09:13:33.000000000 -0400
@@ -1,4 +1,5 @@
#include
+#include
#define WRAP_F77(a) a##_
void WRAP_F77(veclib_cdotc)(const int *N, const complex float *X, const int *incX,
--- scipy-0.9.0/scipy/lib/blas/fblaswrap_veclib_c.c.src.orig 2011-07-23 09:33:44.000000000 -0400
+++ scipy-0.9.0/scipy/lib/blas/fblaswrap_veclib_c.c.src 2011-07-23 09:33:58.000000000 -0400
@@ -1,4 +1,5 @@
#include
+#include
//#define WRAP_F77(a) wcblas_##a##_
#define WRAP_F77(a) w##a##_
--- scipy-0.9.0/scipy/linalg/src/fblaswrap_veclib_c.c.orig 2011-07-23 09:38:19.000000000 -0400
+++ scipy-0.9.0/scipy/linalg/src/fblaswrap_veclib_c.c 2011-07-23 09:38:31.000000000 -0400
@@ -1,4 +1,5 @@
#include
+#include
//#define WRAP_F77(a) wcblas_##a##_
#define WRAP_F77(a) w##a##_