Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (42 sloc) 1.88 KB
# -*- 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
PortSystem 1.0
PortGroup python 1.0
set _name pyshp
set _n [string index ${_name} 0]
name py-${_name}
version 1.2.12
categories-append gis
platforms darwin
supported_archs noarch
license MIT
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.
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
# Adding documentation
post-destroot {
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${dest_doc}
xinstall -m 755 -W ${worksrcpath} \ \
livecheck.type none
} else {
livecheck.type regex
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
You can’t perform that action at this time.