# -*- 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-contextily
version             1.7.1
revision            0

categories-append   gis
license             BSD
homepage            https://github.com/geopandas/contextily
maintainers         nomaintainer

description         context geo tiles in Python
long_description \
    contextily is a small Python package to retrieve tile maps from the internet.\
    It can add those tiles as basemaps to matplotlib figures or write tile maps to\
    disk into geospatial raster files. Bounding boxes can be passed in both WGS84\
    and Spheric Mercator.

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  0870d5f1ee047367beb98c5b2dd2f12a49290e94 \
                    sha256  e00372357a93a9028f75ea7343d867893bd8d4b89833de17b18438725929c885 \
                    size    22463466

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools_scm

    depends_lib-append      port:py${python.version}-geopy \
                            port:py${python.version}-joblib \
                            port:py${python.version}-matplotlib \
                            port:py${python.version}-mercantile \
                            port:py${python.version}-numpy \
                            port:py${python.version}-pillow \
                            port:py${python.version}-rasterio \
                            port:py${python.version}-requests \
                            port:py${python.version}-xyzservices
}
