# -*- 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-libpysal
version             4.14.0
revision            0

categories-append   gis
license             BSD
maintainers         nomaintainer
description         Core components of PySAL
long_description    {*}${description}, a library of spatial analysis functions.
homepage            https://pysal.org

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  788326d86017918dafd05093ab5882ac363b1544 \
                    sha256  4431fdb3735bd30e02ca5a32005977b95999ded250e8cae8086c7a4cac5caf8a \
                    size    6916223

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}-beautifulsoup4 \
                    port:py${python.version}-geopandas \
                    port:py${python.version}-jinja2 \
                    port:py${python.version}-numpy \
                    port:py${python.version}-packaging \
                    port:py${python.version}-pandas \
                    port:py${python.version}-platformdirs \
                    port:py${python.version}-requests \
                    port:py${python.version}-scikit-learn \
                    port:py${python.version}-scipy \
                    port:py${python.version}-shapely
}
