# -*- 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-spglm
version             1.1.0
revision            0

categories-append   gis

platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         SParse Generalized Linear Models (spglm)
long_description    {*}${description} module is an adaptation of a portion of \
                    GLM functionality from the Statsmodels package, this it \
                    has been simplified and customized for the purposes of \
                    serving as the base for several other PySAL modules, \
                    namely SpInt and GWR. Currently, it supports the estimation \
                    of Gaussian, Poisson, and Logistic regression using only \
                    iteratively weighted least squares estimation (IWLS).

homepage            https://pysal.org/spreg/

checksums           rmd160  fbee3349e01b13afb1cdfb9f8dc2c9cd6be7165b \
                    sha256  20519dc38be9d660a28109bb1b89d1068454e79f6413bab2e3987db5bf959327 \
                    size    616651

python.versions     39 310 311 312 313
python.pep517       yes

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

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