source: trunk/dports/python/py27-pymc/Portfile @ 97763

Last change on this file since 97763 was 97763, checked in by jeremyhu@…, 8 years ago

Revbump everything which could've been built with gcc44 or gcc45. Remove gcc42 variants since gcc42 only builds on Tiger (#33919).

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