[46747] trunk/dports/python/py26-scipy

jmr at macports.org jmr at macports.org
Wed Feb 11 14:48:26 PST 2009


Revision: 46747
          http://trac.macports.org/changeset/46747
Author:   jmr at macports.org
Date:     2009-02-11 14:48:23 -0800 (Wed, 11 Feb 2009)
Log Message:
-----------
py26-scipy: update to 0.7.0, improve messages (#18453)

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

Removed Paths:
-------------
    trunk/dports/python/py26-scipy/files/

Modified: trunk/dports/python/py26-scipy/Portfile
===================================================================
--- trunk/dports/python/py26-scipy/Portfile	2009-02-11 22:16:48 UTC (rev 46746)
+++ trunk/dports/python/py26-scipy/Portfile	2009-02-11 22:48:23 UTC (rev 46747)
@@ -5,49 +5,46 @@
 PortGroup python26 1.0
 
 name                    py26-scipy
-version                 0.6.0
+version                 0.7.0
 categories              python
 platforms               darwin
 maintainers             jmr openmaintainer
 description             An opensource library of scientific tools for Python
-long_description        ${description}. WARNING: scipy 0.6.0 is not yet fully \
-                        functional under Python 2.6.
+long_description        ${description}. WARNING: numpy 1.2.1, on which scipy \
+                        depends, is not yet fully functional under Python 2.6.
 
 homepage                http://www.scipy.org/
 master_sites            sourceforge:scipy
 distname                scipy-${version}
 
-checksums               md5 417adf3bfe03f4c23c9fb265018e545c \
-                        sha1 65eff3e245f59b2af9adc70fad11daa40f0ba3e0 \
-                        rmd160 391f2067f7dcc133e7e8622df93a2a0cd5ebbe5b
+checksums               md5 80078ed5f47a48aec2cde3769ba39972 \
+                        sha1 7daef781253bafccf3be54b9eb3541f084503076 \
+                        rmd160 3583901f679cbc7f91560626f437d7edcd2bf6cf
 
 depends_lib-append      port:py26-numpy \
+                        port:py26-nose \
                         port:SuiteSparse \
                         port:swig
 
 worksrcdir              ${distname}
 
-patchfiles              patch-changeset_r3387.diff \
-                        patch-abs-r4767.diff
-
 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"
+    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/linsolve/umfpack/umfpack.i
+  reinplace "s|include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/sparse/linalg/dsolve/umfpack/umfpack.i
 }
 
 post-activate {
-    ui_msg "\n\nWarning: scipy version 0.6.0 is not yet fully functional under python 2.6"
+    ui_msg "\n\nWarning: numpy 1.2.1, on which scipy depends, is not yet fully functional under python 2.6"
     ui_msg "Testing fails: ${prefix}/bin/python2.6 -c 'import scipy; scipy.test()'\n\n"
 }
 
@@ -65,10 +62,6 @@
   destroot.cmd-append   ${fc_options}
 }
 
-variant gnuplot description "Depend on GNUPlot" {
-  depends_lib-append    port:gnuplot
-}
-
 if { ![variant_isset gcc42] && ![variant_isset gcc43] } {
   default_variants      +gcc43
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090211/a3aaf97f/attachment-0001.html>


More information about the macports-changes mailing list