Ticket #18453: py26-scipy-0.7.0.diff

File py26-scipy-0.7.0.diff, 2.6 KB (added by skymoo (Adam Mercer), 16 years ago)

update to 0.7.0

  • python/py26-scipy/Portfile

    diff --git a/python/py26-scipy/Portfile b/python/py26-scipy/Portfile
    index 24b6af0..ffb2da8 100644
    a b PortSystem 1.0 
    55PortGroup python26 1.0
    66
    77name                    py26-scipy
    8 version                 0.6.0
     8version                 0.7.0
    99categories              python
    1010platforms               darwin
    1111maintainers             jmr openmaintainer
    1212description             An opensource library of scientific tools for Python
    13 long_description        ${description}. WARNING: scipy 0.6.0 is not yet fully \
    14                         functional under Python 2.6.
     13long_description        ${description}.
    1514
    1615homepage                http://www.scipy.org/
    1716master_sites            sourceforge:scipy
    1817distname                scipy-${version}
    1918
    20 checksums               md5 417adf3bfe03f4c23c9fb265018e545c \
    21                         sha1 65eff3e245f59b2af9adc70fad11daa40f0ba3e0 \
    22                         rmd160 391f2067f7dcc133e7e8622df93a2a0cd5ebbe5b
     19checksums               md5 80078ed5f47a48aec2cde3769ba39972 \
     20                        sha1 7daef781253bafccf3be54b9eb3541f084503076 \
     21                        rmd160 3583901f679cbc7f91560626f437d7edcd2bf6cf
    2322
    2423depends_lib-append      port:py26-numpy \
     24                        port:py26-nose \
    2525                        port:SuiteSparse \
    2626                        port:swig
    2727
    2828worksrcdir              ${distname}
    2929
    30 patchfiles              patch-changeset_r3387.diff \
    31                         patch-abs-r4767.diff
    32 
    3330build.env               CCFLAGS="-I${prefix}/include -L${prefix}/lib"
    3431
    3532pre-fetch {
    post-patch { 
    4643  reinplace "s|include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/linsolve/umfpack/umfpack.i
    4744}
    4845
    49 post-activate {
    50     ui_msg "\n\nWarning: scipy version 0.6.0 is not yet fully functional under python 2.6"
    51     ui_msg "Testing fails: ${prefix}/bin/python2.6 -c 'import scipy; scipy.test()'\n\n"
    52 }
    53 
    5446variant gcc42 conflicts gcc43 description "Use gfortran-mp-4.2 as fortran compiler" {
    5547  depends_lib-append    port:gcc42
    5648  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
    variant gcc43 conflicts gcc42 description "Use gfortran-mp-4.3 as fortran compil 
    6557  destroot.cmd-append   ${fc_options}
    6658}
    6759
    68 variant gnuplot description "Depend on GNUPlot" {
    69   depends_lib-append    port:gnuplot
    70 }
    71 
    7260if { ![variant_isset gcc42] && ![variant_isset gcc43] } {
    7361  default_variants      +gcc43
    7462}