# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
github.setup pymc-devs pymc 2.3.6 v
description Bayesian statistical models and fitting algorithms for python
long_description PyMC is a python module that implements Bayesian statistical models \
and fitting algorithms, including Markov chain Monte Carlo. \
Its flexibility makes it applicable to a large suite of problems as well \
as easily extensible. Along with core sampling functionality, \
PyMC includes methods for summarizing output, plotting, goodness-of-fit and \
python.versions 27 34 35 36
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-numpy
compilers.enforce_fortran port:py${python.version}-numpy
checksums rmd160 b4eac13ae502bb3e8ec3f314deb73750edcb6a8a \
sha256 9c33a3430e8d55dbe0beaa79394e866f9115c4ec84615e24dabc154334538a6a
compilers.choose fc f77 f90
compilers.setup require_fortran
if {[gcc_variant_isset]} {
build.cmd "${build.cmd} config_fc --fcompiler gfortran"
} elseif {[variant_isset g95]} {
build.cmd "${build.cmd} config_fc --fcompiler g95"
# Insert my own archflags, so I can edit LDFLAGS
if {[variant_exists universal] && [variant_isset universal]} {
build.env-append CFLAGS="${configure.universal_cflags}" \
OBJCFLAGS="${configure.universal_cflags}" \
CXXFLAGS="${configure.universal_cxxflags}" \
LDFLAGS="-undefined dynamic_lookup -bundle ${configure.universal_ldflags}"
build.env-append CFLAGS="${configure.cc_archflags}" \
OBJCFLAGS="${configure.objc_archflags}" \
CXXFLAGS="${configure.cxx_archflags}" \
FFLAGS="${configure.f77_archflags}" \
F90FLAGS="${configure.f90_archflags}" \
FCFLAGS="${configure.fc_archflags}" \
LDFLAGS="-undefined dynamic_lookup -bundle ${configure.ld_archflags}"