source: trunk/dports/python/py25-pymc/Portfile @ 90820

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

add gcc45 variants to multiple ports; where gcc44 was default, change to gcc45 (#33544)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 90820 2012-03-15 03:13:40Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python25 1.0
6
7name                py25-pymc
8version             2.0
9maintainers         mnick
10license             BSD
11
12description         Bayesian statistical models and fitting algorithms for python
13long_description    PyMC is a python module that implements Bayesian statistical models \
14                    and fitting algorithms, including Markov chain Monte Carlo. \
15                    Its flexibility makes it applicable to a large suite of problems as well \
16                    as easily extensible. Along with core sampling functionality, \
17                    PyMC includes methods for summarizing output, plotting, goodness-of-fit and \
18                    convergence diagnostics.
19
20platforms           darwin
21
22homepage            http://code.google.com/p/pymc/
23master_sites        googlecode:pymc
24distname            pymc-${version}
25use_zip             yes
26
27checksums           md5     fc24deb12a72903832c450a913264603 \
28                    sha1    228843d16be02dc6f26f2bdfffc8846801f1d8ee \
29                    rmd160  6e7775cad5aa185b190e89b0d6a4fed48adf335a
30
31patchfiles-append   patch-pymc-gibbsit.f.diff
32depends_lib-append  port:py25-numpy
33
34variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 gcc44 gcc45 g95 {
35    depends_lib-append    port:gcc42
36    set fc                ${prefix}/bin/gfortran-mp-4.2
37    build.env-append      F77=${fc} F90=${fc}
38}
39
40variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 gcc44 gcc45 g95 {
41    depends_lib-append    port:gcc43
42    set fc                ${prefix}/bin/gfortran-mp-4.3
43    build.env-append      F77=${fc} F90=${fc}
44}
45
46variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc42 gcc43 gcc45 g95 {
47    depends_lib-append    port:gcc44
48    set fc                ${prefix}/bin/gfortran-mp-4.4
49    build.env-append      F77=${fc} F90=${fc}
50}
51
52variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc42 gcc43 gcc44 g95 {
53    depends_lib-append    port:gcc45
54    set fc                ${prefix}/bin/gfortran-mp-4.5
55    build.env-append      F77=${fc} F90=${fc}
56}
57
58variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 gcc44 gcc45 {
59    depends_lib-append    port:g95
60    set fc                ${prefix}/bin/g95
61    build.env-append      F77=${fc} F90=${fc}
62}
63
64if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} {
65       default_variants +gcc45
66}
67
68livecheck.regex         <a href=\"http://pymc.googlecode.com/files/pymc-(\[\\d\.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.