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

jmr at macports.org jmr at macports.org
Sun Dec 7 02:43:42 PST 2008


Revision: 43239
          http://trac.macports.org/changeset/43239
Author:   jmr at macports.org
Date:     2008-12-07 02:43:40 -0800 (Sun, 07 Dec 2008)
Log Message:
-----------
py26-scipy: warn that there is currently brokenness

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

Modified: trunk/dports/python/py26-scipy/Portfile
===================================================================
--- trunk/dports/python/py26-scipy/Portfile	2008-12-07 10:04:27 UTC (rev 43238)
+++ trunk/dports/python/py26-scipy/Portfile	2008-12-07 10:43:40 UTC (rev 43239)
@@ -11,7 +11,8 @@
 platforms               darwin
 maintainers             jmr openmaintainer
 description             An opensource library of scientific tools for Python
-long_description        ${description}
+long_description        ${description}. WARNING: scipy 0.6.0 is not yet fully
+                        functional under Python 2.6.
 
 homepage                http://www.scipy.org/
 master_sites            sourceforge:scipy
@@ -46,6 +47,11 @@
   reinplace "s|include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/linsolve/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 "Testing fails: ${prefix}/bin/python2.6 -c 'import scipy; scipy.test()'\n\n" 
+}
+
 variant gcc42 conflicts gcc43 description "Use gfortran-mp-4.2 as fortran compiler" {
   depends_lib-append    port:gcc42
   set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081207/9fe69a86/attachment-0001.html>


More information about the macports-changes mailing list