# -*- 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.1
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  a713a67a18accfa1680d5c3128fb110bed6cc115 \
                    sha256  84a0a832178e57b54f7da35f1c3385c1eaf99016ec8ff819add3b89d36aaff1c \
                    size    6916386

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
}
