# -*- 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.5
revision            1
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           rmd160  b4838513b433bd95cefa0c278f1d201c9c15de19 \
                    sha256  de260e58cccfd2ceddf835b55a357233d6ca853a1aa4f90f7553a52cc71c6ddf \
                    size    20525016

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
}
