# -*- 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-async-geotiff
python.rootname     async_geotiff
version             0.5.1
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         Fast, async GeoTIFF and Cloud-Optimized GeoTIFF (COG) reader for \
                    Python, wrapping the Rust-based Async-TIFF library.
long_description    {*}${description}
homepage            https://github.com/developmentseed/async-geotiff

checksums           rmd160  2e27bc6247ec68f5753d50b2d139c039ac137974 \
                    sha256  673e7694a6d8a39a863215e9b1b1761b2b54e2555217c65f53d0042e8eda3e30 \
                    size    26691

python.versions     311 312 313 314

python.pep517_backend \
                    uv

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-affine \
                    port:py${python.version}-async-tiff \
                    port:py${python.version}-defusedxml \
                    port:py${python.version}-numpy \
                    port:py${python.version}-morecantile
}
