# -*- 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-morecantile
version             7.1.0
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         Morecantile is like mercantile (the best tool to work with Web \
                    Mercator tile indexes), but with support for other TileMatrixSet \
                    grids.
long_description    {*}${description}
homepage            https://github.com/developmentseed/morecantile

checksums           rmd160  35c5c677852d9079638f15eb20f452ef099fafdf \
                    sha256  7faf41f8b3c364a322fe96d44f43b6ba55dc0ba7454222cebc3b695ffec4bc97 \
                    size    43148

python.versions     311 312 313 314

python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-attrs \
                    port:py${python.version}-click \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-pyproj \
                    port:py${python.version}-rasterio
}
