# -*- 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
github.setup SciTools cartopy 0.16.0 v
name py-${github.project}
categories-append science gis graphics
maintainers {petr @petrrr} openmaintainer
description A library providing cartographic tools for python.
Cartopy is a Python package designed to make drawing maps for data \
analysis and visualisation as easy as possible. It makes use of the \
powerful PROJ.4, numpy and shapely libraries and has a simple and \
intuitive drawing interface to matplotlib for creating publication \
homepage http://scitools.org.uk/cartopy/
checksums md5 78f74e22d41e4e94a0ed7e650893142f \
rmd160 52249dde6744b7783f30b496dbd95ade86ce2919 \
sha256 06c30beb49f6fdeac98144d38845315192cea2aadb06edc7910a4384e8f49f9d
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools \
port:py${python.version}-cython \
port:py${python.version}-numpy \
depends_lib-append port:proj4 \
port:py${python.version}-numpy \
port:py${python.version}-pyshp \
port:py${python.version}-shapely \
port:py${python.version}-six
# optional (but keep port simple): plotting, epsg, ows
port:py${python.version}-gdal \
port:py${python.version}-matplotlib \
port:py${python.version}-Pillow \
port:py${python.version}-scipy \
port:py${python.version}-epsg \
port:py${python.version}-owslib
# Required for post-installation testing only.
depends_run-append port:py${python.version}-mock \
port:py${python.version}-pytest
# Add search paths for proj4 binary and pkgconfig files to build/destroot env
# Allows setup.py to identify proj4 non-standard location and build flags
# https://trac.macports.org/ticket/56150