[57314] trunk/dports/python/py25-scipy/Portfile

ram at macports.org ram at macports.org
Wed Sep 9 06:04:40 PDT 2009


Revision: 57314
          http://trac.macports.org/changeset/57314
Author:   ram at macports.org
Date:     2009-09-09 06:04:36 -0700 (Wed, 09 Sep 2009)
Log Message:
-----------
python/py25-scipy: allow use of system swig until #19336 is fixed

Modified Paths:
--------------
    trunk/dports/python/py25-scipy/Portfile

Modified: trunk/dports/python/py25-scipy/Portfile
===================================================================
--- trunk/dports/python/py25-scipy/Portfile	2009-09-09 12:59:24 UTC (rev 57313)
+++ trunk/dports/python/py25-scipy/Portfile	2009-09-09 13:04:36 UTC (rev 57314)
@@ -22,21 +22,21 @@
 depends_lib-append      port:py25-numpy \
                         port:py25-nose \
                         port:SuiteSparse \
-                        port:swig
+                        bin:swig:swig
 
 worksrcdir              ${distname}
 
 build.env               CCFLAGS="-I${prefix}/include -L${prefix}/lib"
 
-pre-fetch {
-  if {![llength [glob -nocomplain ${prefix}/share/swig/*/python/python.swg]]} {
-    ui_error "The python variant of swig is not installed. Please run"
-    ui_error "the following commands:"
-    ui_error "$ sudo port uninstall swig"
-    ui_error "$ sudo port install swig +python"
-    error "python variant of swig required"
-  }
-}
+#pre-fetch {
+#  if {![llength [glob -nocomplain ${prefix}/share/swig/*/python/python.swg]]} {
+#    ui_error "The python variant of swig is not installed. Please run"
+#    ui_error "the following commands:"
+#    ui_error "$ sudo port uninstall swig"
+#    ui_error "$ sudo port install swig +python"
+#    error "python variant of swig required"
+#  }
+#}
 
 post-patch {
   reinplace "s|include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/sparse/linalg/dsolve/umfpack/umfpack.i
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090909/168c5149/attachment.html>


More information about the macports-changes mailing list