Ticket #19136: Portfile

File Portfile, 1.7 KB (added by max@…, 16 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           python25 1.0
5
6name                py25-pymc
7version             2.0
8maintainers         inmachina.com:max openmaintainer
9
10description         Bayesian statistical models and fitting algorithms for python
11long_description        PyMC is a python module that implements Bayesian statistical models \
12                                        and fitting algorithms, including Markov chain Monte Carlo. \
13                                        Its flexibility makes it applicable to a large suite of problems as well \
14                                        as easily extensible. Along with core sampling functionality, \
15                                        PyMC includes methods for summarizing output, plotting, goodness-of-fit and\
16                                        convergence diagnostics.
17
18platforms           darwin
19
20homepage            http://code.google.com/p/pymc/
21master_sites        http://pypi.python.org/packages/source/p/pymc/
22distname            pymc-${version}
23
24checksums           md5     ef673f20c89d845520516111c9c0db08 \
25                    sha1    622aaaef83b5dd870021eacdf728ca3dde00eb80 \
26                                        rmd160  35e8593a9811ae6c51b3c47a81514a50e5a8e838
27
28patchfiles-append   patch-pymc-gibbsit.f.diff
29depends_lib-append  port:py25-numpy
30
31variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 g95 {
32    depends_lib-append    port:gcc42
33    set fc                                ${prefix}/bin/gfortran-mp-4.2
34        build.env-append      F77=${fc} F90=${fc}
35}
36
37variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 g95 {
38    depends_lib-append    port:gcc43
39    set fc                                ${prefix}/bin/gfortran-mp-4.3         
40        build.env-append      F77=${fc} F90=${fc}
41}
42
43variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 {
44    depends_lib-append    port:g95
45    set fc                                ${prefix}/bin/g95     
46        build.env-append      F77=${fc} F90=${fc}
47}
48
49default_variants +gcc43