# -*- 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.17.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 aae81ff8179b297f920efc956c4fb6c1 \
rmd160 d0974c78da8f8d76f6c06dfde4efc40b953b5d80 \
sha256 87c792f0a5f377ae3cb068dd01f64dad0a708c277955be8f0a7645ba6a6e4bc9 \
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