[127605] trunk/dports/python

petr at macports.org petr at macports.org
Thu Oct 30 09:24:40 PDT 2014


Revision: 127605
          https://trac.macports.org/changeset/127605
Author:   petr at macports.org
Date:     2014-10-30 09:24:40 -0700 (Thu, 30 Oct 2014)
Log Message:
-----------
py-owslib: new port

Added Paths:
-----------
    trunk/dports/python/py-owslib/
    trunk/dports/python/py-owslib/Portfile

Added: trunk/dports/python/py-owslib/Portfile
===================================================================
--- trunk/dports/python/py-owslib/Portfile	                        (rev 0)
+++ trunk/dports/python/py-owslib/Portfile	2014-10-30 16:24:40 UTC (rev 127605)
@@ -0,0 +1,62 @@
+# -*- 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
+
+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   [lindex ${master_sites} 0]
+    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
+}


Property changes on: trunk/dports/python/py-owslib/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141030/38796e78/attachment-0001.html>


More information about the macports-changes mailing list