# -*- 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 # $Id: Portfile 144694 2016-01-15 18:56:34Z dstrubbe@macports.org $ PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 PortGroup compilers 1.0 github.setup pymc-devs pymc 2.3.6 v name py-pymc maintainers hum openmaintainer license {AFL-3 BSD} 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 \ convergence diagnostics. platforms darwin python.versions 26 27 33 34 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 -dragonegg 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 python.add_archflags no 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}" } else { 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}" } livecheck.type none }