# -*- 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.23.0
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  fa79186248ed2603935371f0aabf050babb70acd \
                    sha256  23fc95234d4364b5a78cc6311531447099e96d01c8d1c628bff42565d4450bbf \
                    size    477350

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