# -*- 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

name                py-pymc
version             5.20.1
revision            0

supported_archs     noarch
platforms           {darwin any}
license             Apache-2
maintainers         {reneeotten @reneeotten} openmaintainer

description         Probabilistic Programming in Python: Bayesian Modeling and \
                    Probabilistic Machine Learning with Aesara
long_description    PyMC (formerly PyMC3) is a Python package for Bayesian \
                    statistical modeling 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  086ecb6cbaadef83edd4df04a9aa61bd40434af5 \
                    sha256  fb5f20d196a1b34eb193a855c611887b2e7b98d3af37d8573a33d112e2278eac \
                    size    503181

python.versions     310 311 312

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

    depends_build-append \
                    port:py${python.version}-versioneer

    depends_lib-append \
                    port:py${python.version}-arviz \
                    port:py${python.version}-cachetools \
                    port:py${python.version}-cloudpickle \
                    port:py${python.version}-fastprogress \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-pytensor \
                    port:py${python.version}-scipy \
                    port:py${python.version}-typing_extensions

    if {${python.version} < 311} {
        depends_lib-append \
                    port:py${python.version}-tomli
    }
}
