source: trunk/dports/python/py-scipy/Portfile @ 37968

Last change on this file since 37968 was 37968, checked in by ram@…, 9 years ago

drop maintainership

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 37968 2008-07-01 04:11:20Z ram@macports.org $
2
3PortSystem              1.0
4PortGroup               python24 1.0
5
6name                    py-scipy
7version                 0.6.0
8revision                9
9categories              python
10platforms               darwin
11maintainers             nomaintainer
12description             An opensource library of scientific tools for Python
13long_description        ${description}
14
15homepage                http://www.scipy.org/
16master_sites            sourceforge:scipy
17distname                scipy-${version}
18
19checksums               md5 417adf3bfe03f4c23c9fb265018e545c \
20                        sha1 65eff3e245f59b2af9adc70fad11daa40f0ba3e0 \
21                        rmd160 391f2067f7dcc133e7e8622df93a2a0cd5ebbe5b
22
23depends_lib-append      port:py-numpy \
24                        port:SuiteSparse \
25                        port:swig
26
27worksrcdir              ${distname}
28
29patchfiles              patch-changeset_r3387.diff
30
31build.env               CCFLAGS="-I${prefix}/include -L${prefix}/lib"
32
33post-patch {
34  reinplace "s|include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/linsolve/umfpack/umfpack.i
35}
36
37variant gcc42 conflicts gcc43 description "Use gfortran-mp-4.2 as fortran compiler" {
38  depends_lib-append    port:gcc42
39  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
40  build.cmd-append      ${fc_options}
41  destroot.cmd-append   ${fc_options}
42}
43
44variant gcc43 conflicts gcc42 description "Use gfortran-mp-4.3 as fortran compiler" {
45  depends_lib-append    port:gcc43
46  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3"
47  build.cmd-append      ${fc_options}
48  destroot.cmd-append   ${fc_options}
49}
50
51variant gnuplot description "Depend on GNUPlot" {
52  depends_lib-append    lib:gnuplot:gnuplot
53}
54
55if { ![variant_isset gcc42] && ![variant_isset gcc43] } {
56  default_variants      +gcc43
57}
Note: See TracBrowser for help on using the repository browser.