# -*- 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.11.2 v
revision            0
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.

checksums           rmd160  75be7016d2aaaa1619c26230f105c3316bdb3799 \
                    sha256  7447b3f08f63fd2b5880582c7d7ffd51466f66720c747d4f0ae1cba6df59ca76 \
                    size    1958281

python.versions     36 37 38 39

if {${name} ne ${subport}} {
   depends_lib-append \
                    port:py${python.version}-arviz \
                    port:py${python.version}-dill \
                    port:py${python.version}-fastprogress \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-patsy \
                    port:py${python.version}-scipy \
                    port:py${python.version}-theano-pymc \
                    port:py${python.version}-typing_extensions

    if {${python.version} == 36} {
        github.setup    pymc-devs pymc3 3.10.0 v
        revision        0
        checksums       rmd160  52e9e6990d31c58087465455c9ba3769af2e29e9 \
                        sha256  1a586003856fd3d17764e2ef538e2c362d854c5f92caafe8e4502b90fa6333f6 \
                        size    104562192

        depends_lib-append \
                        port:py${python.version}-contextvars \
                        port:py${python.version}-dataclasses
    }

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