[35847] trunk/dports/python
ram at macports.org
ram at macports.org
Tue Apr 8 06:40:15 PDT 2008
Revision: 35847
http://trac.macosforge.org/projects/macports/changeset/35847
Author: ram at macports.org
Date: 2008-04-08 06:40:12 -0700 (Tue, 08 Apr 2008)
Log Message:
-----------
py-scipy/py25-scipy: depend on SuiteSparse, fixes #12376
Modified Paths:
--------------
trunk/dports/python/py-scipy/Portfile
trunk/dports/python/py25-scipy/Portfile
Modified: trunk/dports/python/py-scipy/Portfile
===================================================================
--- trunk/dports/python/py-scipy/Portfile 2008-04-08 09:35:34 UTC (rev 35846)
+++ trunk/dports/python/py-scipy/Portfile 2008-04-08 13:40:12 UTC (rev 35847)
@@ -5,7 +5,7 @@
name py-scipy
version 0.6.0
-revision 5
+revision 6
categories python
platforms darwin
maintainers ram openmaintainer
@@ -21,7 +21,8 @@
rmd160 391f2067f7dcc133e7e8622df93a2a0cd5ebbe5b
depends_lib-append lib:gnuplot:gnuplot \
- port:py-numpy
+ port:py-numpy \
+ port:SuiteSparse
worksrcdir ${distname}
@@ -29,6 +30,10 @@
build.env CCFLAGS="-I${prefix}/include -L${prefix}/lib"
+post-patch {
+ reinplace "s|include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/linsolve/umfpack/umfpack.i
+}
+
variant g95 conflicts gcc42 gcc43 description "Use g95 as fortran compiler" {
depends_lib-append port:g95
set fc_options "config_fc --fcompiler g95 --f77exec ${prefix}/bin/g95 --f90exec ${prefix}/bin/g95"
Modified: trunk/dports/python/py25-scipy/Portfile
===================================================================
--- trunk/dports/python/py25-scipy/Portfile 2008-04-08 09:35:34 UTC (rev 35846)
+++ trunk/dports/python/py25-scipy/Portfile 2008-04-08 13:40:12 UTC (rev 35847)
@@ -5,7 +5,7 @@
name py25-scipy
version 0.6.0
-revision 6
+revision 7
categories python
platforms darwin
maintainers ram openmaintainer
@@ -22,7 +22,8 @@
depends_lib-append lib:gnuplot:gnuplot \
port:py25-numpy \
- port:py25-zlib
+ port:py25-zlib \
+ port:SuiteSparse
worksrcdir ${distname}
@@ -30,6 +31,10 @@
build.env CCFLAGS="-I${prefix}/include -L${prefix}/lib"
+post-patch {
+ reinplace "s|include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/linsolve/umfpack/umfpack.i
+}
+
variant g95 conflicts gcc42 gcc43 description "Use g95 as fortran compiler" {
depends_lib-append port:g95
set fc_options "config_fc --fcompiler g95 --f77exec ${prefix}/bin/g95 --f90exec ${prefix}/bin/g95"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080408/34faa353/attachment.html
More information about the macports-changes
mailing list