# -*- 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-rasterstats
version             0.20.0
revision            0

categories-append   gis

platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         rasterstats is a Python module for summarizing geospatial raster datasets
long_description    {*}${description} based on vector geometries. It includes functions for \
                    zonal statistics and interpolated point queries.

homepage            https://pythonhosted.org/rasterstats/

checksums           rmd160  8497bb1458dadaa28b6d909c51c335add6ef475c \
                    sha256  5b8ee775e815727767e0d359c03f3dd1c7840876d1d1d0c7a5a88ecf3e492938 \
                    size    24017

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-affine \
                    port:py${python.version}-click \
                    port:py${python.version}-cligj \
                    port:py${python.version}-fiona \
                    port:py${python.version}-numpy \
                    port:py${python.version}-rasterio \
                    port:py${python.version}-simplejson \
                    port:py${python.version}-shapely
}
