# -*- 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-mgwr
version             2.2.1
revision            0

categories-append   gis
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         Multiscale Geographically Weighted Regression (mgwr)
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://mgwr.readthedocs.io/en/latest/

checksums           rmd160  959c1d690a38a395d14d2011b1a2fd0829f76625 \
                    sha256  8b00ba992fd85c9528327eae88e104e072939d0d5203b72c513ef29d5c400ff7 \
                    size    45162

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-scipy \
                    port:py${python.version}-numpy \
                    port:py${python.version}-libpysal \
                    port:py${python.version}-spglm \
                    port:py${python.version}-spreg
}
