# -*- 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.24.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  8edc07ca52c74e7d61481f4c7e901d3c5f534e90 \
                    sha256  17f9103261050f3ff6ecf0b95355b837c3dd70233aa970bbc2ffa120c2bf1461 \
                    size    477677

python.versions     310 311 312 313

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}-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
    }
}
