# -*- 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.13.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  4c67be915956e3116544bf4d1146ff11efdde5ad \
                    sha256  71a07f7a2e705632862c15c51af5171a42391c874a7efd6711f06c7e4e9c6f53 \
                    size    6713348

python.versions     39 310 311 312 313

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

    if {${python.version} == 39} {
        version         4.8.0
        revision        0
        checksums       rmd160  708befd535364f894449455e085f3407f03777ee \
                        sha256  af6904f11cf63d4d111beab0fd63bdecedf07c11184e26ffa6601a036fba27e2 \
                        size    5598608
    }
}
