# -*- 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
set _n [string index ${_name} 0]
maintainers {petr @petrrr} openmaintainer
description Python Shapefile Library
long_description PyShp library provides read and write support for the \
ESRI shapefile format in pure Python. This format is a \
popular Geographic Information System vector data format \
created by ESRI. You can read and write shp, shx, and dbf \
files with all types of geometry. Everything in the \
public ESRI shapefile specification is implemented.
homepage https://github.com/GeospatialPython/${_name}
distname ${_name}-${version}
master_sites pypi:${_n}/${_name}
checksums md5 63d33d151ac308f1db71ea0f22c30d8b \
rmd160 0327de92a09ab7716f8a5d557e844e4722527156 \
sha256 8dcd65e0aa2aa2951527ddb7339ea6e69023543d8a20a73fc51e2829b9ed6179
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -m 755 -W ${worksrcpath} \
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""