# -*- 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-spreg
version             1.9.1
revision            0

categories-append   gis
license             BSD
maintainers         nomaintainer
description         PySAL Spatial Econometrics Package (spreg)
long_description    {*}${description}, short for “spatial regression”, is a \
                    Python package to estimate simultaneous autoregressive \
                    spatial regression models. These models are useful when \
                    modeling processes where observations interact with one \
                    another.
homepage            https://pysal.org/spreg/

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  172b67be495503c7b8b1600728728507ab8afb99 \
                    sha256  0633a13383700b79a197664db300bfc1b14c4747d770aa961c4f40c7a7577179 \
                    size    636411

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_run-append \
                    port:py${python.version}-libpysal \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-scikit-learn \
                    port:py${python.version}-scipy
}
