# -*- 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.6
revision            0
categories-append   science math
license             BSD

python.versions     310 311 312 313 314

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           rmd160  c7c2c9d080eeed536524da94d7c51b8e0abd64bd \
                    sha256  4d17873d3e607d398b85126cd4ed7aad89e4e9d89fc744cdab1af3189a996c2a \
                    size    20689085

if {${name} ne ${subport}} {
    patchfiles      patch-setuptools_scm-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
}
