# -*- 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-pysal
version                 25.1
revision                0

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

description             Python Spatial Analysis Library (PySAL)
long_description        {*}${description} is an open source cross-platform \
                        library for geospatial data science with an emphasis \
                        on geospatial vector data written in Python.

homepage                https://pysal.org/pysal/

checksums               rmd160  65cd1575a2479bcfbeb045f384ad8ab1b70c105b \
                        sha256  da101ba8cc1a67aa204157ab975ed048894f423dd14eef38850e5cd698cc56a0 \
                        size    2076036

python.versions         310 311 312 313

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

    depends_lib-append  \
                        port:py${python.version}-libpysal \
                        port:py${python.version}-access \
                        port:py${python.version}-esda \
                        port:py${python.version}-giddy \
                        port:py${python.version}-inequality \
                        port:py${python.version}-pointpats \
                        port:py${python.version}-segregation \
                        port:py${python.version}-spaghetti \
                        port:py${python.version}-mgwr \
                        port:py${python.version}-momepy \
                        port:py${python.version}-spglm \
                        port:py${python.version}-spint \
                        port:py${python.version}-spreg \
                        port:py${python.version}-spvcm \
                        port:py${python.version}-tobler \
                        port:py${python.version}-mapclassify \
                        port:py${python.version}-splot \
                        port:py${python.version}-spopt
}
