# -*- 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.14.0
revision            0

categories-append   gis
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/

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  16e05200be21bf363ae87dad08fc2bf4389140af \
                    sha256  9d199bee5f14fed64ef392700e15ea72dfb68543f2293b505071ee6d2f62efe9 \
                    size    4689217

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}-geopandas \
                    port:py${python.version}-joblib \
                    port:py${python.version}-libpysal \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-rasterio \
                    port:py${python.version}-rasterstats \
                    port:py${python.version}-scipy \
                    port:py${python.version}-statsmodels \
                    port:py${python.version}-tqdm
}
