# -*- 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 pymc 3.11.4 v
github.tarball_from archive
revision            1
name                py-pymc3

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  7d9e53b90bb741925b3a37992b0300cda8fb73a7 \
                    sha256  9e534a1c29a12d5e1900b5e6fddea4bf5c1e7e26af4a6ca91b29f247a1805e67 \
                    size    1958459

# upstream renamed their repository, and checksums have changed.... remove upon next update
dist_subdir   ${name}/${version}_1

python.versions     37 38 39 310

if {${name} ne ${subport}} {
    conflicts       py${python.version}-pymc

    depends_lib-append \
                    port:py${python.version}-arviz \
                    port:py${python.version}-cachetools \
                    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}-semver \
                    port:py${python.version}-theano-pymc \
                    port:py${python.version}-typing_extensions

    notes "The latest PyMC release (v4.0.0) is packaged as py-pymc; so please install\
        the py${python.version}-pymc port if you want to update to the newest version."
}

livecheck.type      none
