[141877] trunk/dports/python

petr at macports.org petr at macports.org
Sat Dec 12 03:23:16 PST 2015


Revision: 141877
          https://trac.macports.org/changeset/141877
Author:   petr at macports.org
Date:     2015-10-30 08:17:14 -0700 (Fri, 30 Oct 2015)
Log Message:
-----------
py-hdfs: new port

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

Added: trunk/dports/python/py-hdfs/Portfile
===================================================================
--- trunk/dports/python/py-hdfs/Portfile	                        (rev 0)
+++ trunk/dports/python/py-hdfs/Portfile	2015-10-30 15:17:14 UTC (rev 141877)
@@ -0,0 +1,56 @@
+# -*- 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           hdfs
+set _n              [string index ${_name} 0]
+
+name                py-${_name}
+version             2.0.4
+categories-append   net sysutils parallel
+platforms           darwin
+supported_archs     noarch
+license             MIT
+
+maintainers         petr openmaintainer
+
+description         API and command line interface for HDFS
+long_description    ${description}
+
+homepage            https://pypi.python.org/pypi/${_name}
+
+distname            ${_name}-${version}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums           md5     c48b86a0fb05d22b5f4eb4cb84fc6452 \
+                    rmd160  442f119b819afecb20ab3f13096c3a8a8827542f \
+                    sha256  c62038dec3d2a7d5344ceb3aa2a721dfaf35e46a311676d74f91d3cb2a866055
+
+python.versions     27 34 35
+
+if {${name} ne ${subport}} {
+    depends_build-append    port:py${python.version}-setuptools
+
+    depends_lib-append      port:py${python.version}-docopt \
+                            port:py${python.version}-requests \
+                            port:py${python.version}-six
+
+    # Adding documentation
+    post-destroot {
+        set dest_doc ${destroot}${prefix}/share/doc/${subport}
+        xinstall -d  ${dest_doc}
+        xinstall -m 755 -W ${worksrcpath} \
+            LICENSE \
+            README.rst \
+                ${dest_doc}
+    }
+
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   https://pypi.python.org/pypi/${_name}/json
+    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
+}


Property changes on: trunk/dports/python/py-hdfs/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/20151212/f0350c0a/attachment.html>


More information about the macports-changes mailing list