# -*- 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 OWSLib set _n [string index ${_name} 0] name py-owslib version 0.8.10 categories-append gis science net platforms darwin supported_archs noarch license BSD maintainers petr openmaintainer description OGC Web Service utility library long_description \ OWSLib is a Python package for client programming with Open Geospatial \ Consortium (OGC) web service (hence OWS) interface standards, and their \ related content models. OWSLib provides a common API for accessing \ service metadata and wrappers for numerous OGC Web Service interfaces. homepage https://pypi.python.org/pypi/${_name}/${version} master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ distname ${_name}-${version} checksums md5 bf942298cef015bec19e9ea9e7380248 \ rmd160 e948e2ffc5074de65d225537c0c8d81a415ce957 \ sha256 4ea6d697716fb067f3f41a4e6aa60598f1baf0fcdd817ddd3beb52d4db81af96 python.versions 27 34 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-dateutil \ port:py${python.version}-tz \ port:py${python.version}-lxml # Adding documentation and examples post-destroot { set dest_doc ${destroot}${prefix}/share/doc/${subport} xinstall -d ${dest_doc} xinstall -m 755 -W ${worksrcpath} \ CHANGES.txt \ CREDITS.txt \ FAQ.txt \ HISTORY.txt \ INSTALL.txt \ LICENSE.txt \ README.txt \ ${dest_doc} } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }