1 | # builds on 10.4, but fails with bus error on import scipy |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python24 1.0 |
---|
5 | |
---|
6 | name py-scipy |
---|
7 | version 0.3.2 |
---|
8 | revision 3 |
---|
9 | categories python |
---|
10 | platforms darwin |
---|
11 | description An opensource library of scientific tools for Python |
---|
12 | maintainers erickt@dslextreme.com |
---|
13 | |
---|
14 | homepage http://www.scipy.org/ |
---|
15 | master_sites ${homepage}/download/scipy/src/ |
---|
16 | distname SciPy_complete-${version} |
---|
17 | |
---|
18 | checksums md5 5ae2280ab2c4c653cb0ff8479e81284a |
---|
19 | |
---|
20 | depends_lib lib:gnuplot:gnuplot \ |
---|
21 | lib:fftw:fftw \ |
---|
22 | port:py-numeric \ |
---|
23 | port:py-f2py |
---|
24 | depends_build bin:g77-dp-gcc34:gcc34 |
---|
25 | |
---|
26 | use_configure no |
---|
27 | patchfiles patch-gnufcompiler.py |
---|
28 | |
---|
29 | worksrcdir ${distname} |
---|
30 | build.env CC="/usr/bin/gcc-3.3" \ |
---|
31 | CXX="/usr/bin/g++-3.3" \ |
---|
32 | LDFLAGS="-L/Library/Frameworks/Python.framework/Libraries -lpython -L/usr/include -L${prefix}/lib/gcc-3.4/gcc/powerpc-apple-darwin8.2.0/3.4.4 -lgcc" \ |
---|
33 | CFLAGS="-I${prefix}/include/python2.4" |
---|
34 | |
---|
35 | build.post_args config_fc --f77exec g77-dp-3.4 |
---|