# -*- 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.25.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  e09093cfe10e58cee1bdfd0b0e541e2756b2afd8 \
                    sha256  9e739315c0547336b4c11127aae8b3750145b29cdd8e21609196594aa29c21f8 \
                    size    487746

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