# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set _name geojson set _n [string index ${_name} 0] name py-${_name} version 1.0.6 categories-append gis platforms darwin supported_archs noarch license BSD maintainers bo.ingv.it:Peter.Danecek openmaintainer description Python bindings and utilities for GeoJSON long_description \ This library implements all the GeoJSON objects described in The GeoJSON \ Format Specification. It provides functions encoding and decoding GeoJSON \ formatted data and is an implementation of the Python __geo_interface__ \ Specification. homepage https://github.com/frewsxcv/python-geojson distname ${_name}-${version} master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ checksums md5 49bd5fcff7d43d4c295a86c886a17b8f \ rmd160 7a77fbe4cd5fa31059514d6ab219d2bb687458b3 \ sha256 d91cd23401b922ba597afe1f3effabfdab6af3550708b4e0cd16ab26094861b0 python.versions 26 27 33 34 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools patchfiles patch-setup.py.diff test.run yes if {${test.run}} { depends_build-append port:py${python.version}-nose \ port:py${python.version}-coverage } # Adding documents post-destroot { set dest_doc ${destroot}${prefix}/share/doc/${subport} xinstall -d ${dest_doc} xinstall -m 755 -W ${worksrcpath} \ CHANGELOG.rst \ LICENSE.rst \ README.rst \ ${dest_doc} } livecheck.type none } else { livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" }