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

homepage            https://github.com/pymc-devs/pymc

checksums           rmd160  c537fbe150012fb1d6e0da7f63fa0c9d94ac0a1c \
                    sha256  b49aeea21e4f50792aa7b0c537bd92abb5542950f93dc254ca86116d8a654a93 \
                    size    488624

python.versions     311 312 313

if {${name} ne ${subport}} {
    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}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-pytensor \
                    port:py${python.version}-rich \
                    port:py${python.version}-scipy \
                    port:py${python.version}-threadpoolctl \
                    port:py${python.version}-typing_extensions

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