# -*- 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
PortGroup           compiler_wrapper 1.0

name                py-rasterio
version             1.3.9
revision            0
categories-append   gis
license             BSD

python.versions     38 39 310 311 312

maintainers         {stromnov @stromnov} openmaintainer

description         Rasterio reads and writes geospatial raster data.
long_description    {*}${description}

homepage            https://github.com/rasterio/rasterio

checksums           rmd160  c689da41ea24c2843c0c6e6e927beeb4bc67db17 \
                    sha256  fc6d0d290492fa1a5068711cfebb21cc936968891b7ed9da0690c8a7388885c5 \
                    size    411741

if {${name} ne ${subport}} {
    depends_build-append \
                        path:bin/cython-${python.branch}:py${python.version}-cython

    depends_lib-append  port:py${python.version}-affine \
                        port:py${python.version}-attrs \
                        port:py${python.version}-certifi \
                        port:py${python.version}-click \
                        port:py${python.version}-cligj \
                        port:py${python.version}-numpy \
                        port:py${python.version}-snuggs \
                        port:py${python.version}-click-plugins \
                        port:py${python.version}-setuptools \
                        port:gdal
}
