# -*- 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: Portfile 121337 2014-06-23 20:51:54Z petr@macports.org $ PortSystem 1.0 PortGroup python 1.0 set _name geojson set _n [string index ${_name} 0] name py-${_name} version 1.0.7 categories-append gis platforms darwin supported_archs noarch license BSD maintainers petr 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 eb1228f422cf8b3ae8f57c33e6be5c59 \ rmd160 81ce6e944ae569597ebbb0f55294add95695db03 \ sha256 8bdd39b85d5d69e6bff9f40640488e1e27e74f5591a55d543f6aaaa6e8cb9146 python.versions 26 27 33 34 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools 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}<" }