# -*- 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.8.0
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

categories-append   gis

description         Core components of PySAL
long_description    {*}${description}, a library of spatial analysis functions.

homepage            https://pysal.org

checksums           rmd160  708befd535364f894449455e085f3407f03777ee \
                    sha256  af6904f11cf63d4d111beab0fd63bdecedf07c11184e26ffa6601a036fba27e2 \
                    size    5598608

python.versions     39 310 311
python.pep517       yes

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

    depends_run-append \
                    port:py${python.version}-platformdirs \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-jinja2 \
                    port:py${python.version}-geopandas \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-requests \
                    port:py${python.version}-scipy \
                    port:py${python.version}-shapely \
                    port:py${python.version}-packaging
}
