[57316] trunk/dports/python/py26-scipy/Portfile

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


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

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

Modified: trunk/dports/python/py26-scipy/Portfile
===================================================================
--- trunk/dports/python/py26-scipy/Portfile	2009-09-09 13:04:48 UTC (rev 57315)
+++ trunk/dports/python/py26-scipy/Portfile	2009-09-09 13:04:57 UTC (rev 57316)
@@ -23,20 +23,20 @@
 depends_lib-append      port:py26-numpy \
                         port:py26-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 command:"
-    ui_error "$ sudo port -fn upgrade 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 command:"
+#    ui_error "$ sudo port -fn upgrade 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/89772242/attachment-0001.html>


More information about the macports-changes mailing list