# -*- 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-tobler
version             0.12.1
revision            0

categories-append   gis

platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         Spatial interpolation, Dasymetric Mapping, & Change of Support (tobler)
long_description    The PySAL tobler is a library for areal interpolation and dasymetric mapping.

homepage            https://pysal.org/tobler/

checksums           rmd160  9ac59fcc1d4da15d0633befc406fc3e767586698 \
                    sha256  96a05c2bd69569c5fadb940f7ad242dd8a43d12c7818c7ab97534e46670677f1 \
                    size    13606449

python.versions     39 310 311 312 313

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

    depends_run-append \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-geopandas \
                    port:py${python.version}-rasterio \
                    port:py${python.version}-scipy \
                    port:py${python.version}-statsmodels \
                    port:py${python.version}-rasterstats \
                    port:py${python.version}-libpysal \
                    port:py${python.version}-tqdm \
                    port:py${python.version}-joblib
}
