# -*- 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.0.3
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  f8f633f382da5f3ea994f9ea34aec33b192f8a74 \
                    sha256  b44419c83f310b411b1f547df2d07c115dc6d194ab7c8a4c318a154490e938c1 \
                    size    43104

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
}
