# -*- 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-statsmodels
version             0.14.4
revision            0
categories-append   science math
license             BSD

python.versions     39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         Statistical computations and models for use with SciPy

long_description    Statsmodels is  a  Python  package  that  provides \
                    a complement to scipy for statistical computations \
                    including descriptive  statistics  and  estimation \
                    of statistical models.

homepage            https://www.statsmodels.org/

checksums           md5     38acb6af5decb5abea4721b6481ddb1b \
                    rmd160  f402be4f4d8f9bdbb07c85df04024f6efba97638 \
                    sha256  5d69e0f39060dc72c067f9bb6e8033b6dccdb0bae101d76a7ef0bcc94e898b67 \
                    size    20354802

if {${name} ne ${subport}} {
    patchfiles-append   patch-numpy-pyproject.toml.diff

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

    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-scipy \
                        port:py${python.version}-pandas \
                        port:py${python.version}-patsy \
                        port:py${python.version}-packaging
}
