# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        pymc-devs pymc3 3.6 v
name                py-pymc3
platforms           darwin
maintainers         {reneeotten @reneeotten} openmaintainer
license             Apache-2
supported_archs     noarch

description         Bayesian statistical modeling and Probabilistic Machine Learning in Python
long_description    PyMC3 is a Python package for Bayesian statistical modeling and \
                    Probabilistic Machine Learning focusing on advanced Markov chain \
                    Monte Carlo (MCMC) and variational inference (VI) algorithms. \
                    Its flexibility and extensibility make it applicable to a large \
                    suite of problems.

python.versions     27 34 35 36 37

checksums           rmd160  1d3cf15c44b964fd27d4d68882ad1e7675e592e9 \
                    sha256  12afa97f2f9cb10d6469d5b550153627f65013abf0e18c93c776272f3f4a83f0 \
                    size    30266821

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-h5py \
                        port:py${python.version}-joblib \
                        port:py${python.version}-numpy \
                        port:py${python.version}-pandas \
                        port:py${python.version}-patsy \
                        port:py${python.version}-scipy \
                        port:py${python.version}-six \
                        port:py${python.version}-theano \
                        port:py${python.version}-tqdm

    if {${python.version} eq 27} {
        depends_lib-append \
                        port:py${python.version}-enum34
    }

    livecheck.type      none
} else {
    github.livecheck.regex  {([0-9.]+)}
}