# -*- 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.0
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  b6c6dcced24413a9167fb68a48dbe6e541cd6a8e \
                    sha256  96e1aa8f762c57c2abf697a4724bba778a09be05b4fac03898ec47515f5fcb4e \
                    size    631066

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
}
