# -*- 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.0
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  b097491232105074bf19ed8e4972b86a85dde9fd \
                    sha256  6534faa5702b89b46d0d81b4c538754f2d8b3dd8cc298454b11ccedfa67e73ac \
                    size    22462157

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
}
