Ticket #41334: Portfile.2

File Portfile.2, 1.6 KB (added by mojca (Mojca Miklavec), 10 years ago)

minor changes for py-pyshp

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
6
7name                py-pyshp
8set real_name       pyshp
9version             1.2.0
10categories-append   gis
11platforms           darwin
12supported_archs     noarch
13
14maintainers         bo.ingv.it:peter.danecek openmaintainer
15
16license             MIT
17
18description         Python Shapefile Library
19
20long_description    PyShp library provides read and write support for the \
21                    ESRI shapefile format in pure Python. This format is a \
22                    popular Geographic Information System vector data format \
23                    created by ESRI. You can read and write shp, shx, and dbf \
24                    files with all types of geometry. Everything in the \
25                    public ESRI shapefile specification is implemented.
26
27homepage            http://code.google.com/p/${real_name}/
28
29distname            ${real_name}-${version}
30master_sites        http://pypi.python.org/packages/source/p/${real_name}
31
32checksums           md5     9075f34109f0bb4b45a90fd1fb5db94b \
33                    rmd160  1e507e974a1c2f5f599d7201921ceaf8aa916138 \
34                    sha256  16e9a9b5caae5b69149c7be09415381b61af4f85f2087d08c0698c75e70000e7
35
36python.versions     26 27 32 33 34
37
38if {${subport} ne ${name}} {
39    depends_build-append    port:py${python.version}-setuptools
40    livecheck.type      none
41} else {
42    livecheck.type      regex
43    livecheck.url       http://pypi.python.org/pypi/${real_name}
44    livecheck.regex     ${real_name}-(\[0-9.\]+)${extract.suffix}
45}