Ticket #41337: Portfile

File Portfile, 2.1 KB (added by petrrr, 10 years ago)

Portfile for python/py-cartopy;

Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        SciTools cartopy 0.9.0 v
9
10name                py-cartopy
11version             0.9.0
12categories-append   science gis graphics
13platforms           darwin
14
15maintainers         bo.ingv.it:Peter.Danecek openmaintainer
16
17license             LGPL3
18
19description         A library providing cartographic tools for python.
20
21long_description    Cartopy is a Python package designed to make drawing maps \
22                    for data analysis and visualisation as easy as possible. \
23                    It makes use of the powerful PROJ.4, numpy and shapely \
24                    libraries and has a simple and intuitive drawing interface \
25                    to matplotlib for creating publication quality maps.
26
27homepage            http://scitools.org.uk/cartopy/
28
29checksums           md5     fcae31b7f7a322160da2dce6ae597d1c \
30                    rmd160  25f84a9fe68a3a0bdca433b2a0aecf04c189cee0 \
31                    sha256  14c21ad1f84f22d55a017180435f087264ef767ef27b24ccb0f3fa330a326ad4
32
33python.versions     27
34
35if {${subport} != ${name}} {   
36    depends_build-append    port:py${python.version}-setuptools \
37                            port:py${python.version}-cython \
38                            port:py${python.version}-numpy
39
40    depends_lib-append      port:proj \
41                            port:geos
42
43    depends_run-append      port:py${python.version}-numpy \
44                            port:py${python.version}-scipy \
45                            port:py${python.version}-matplotlib \
46                            port:py${python.version}-shapely \
47                            port:py${python.version}-pyshp
48
49    # testing only
50    depends_run-append      port:py${python.version}-nose \
51                            port:py${python.version}-pep8 \
52                            port:py${python.version}-mock \
53                            port:py${python.version}-pil
54}