[145528] trunk/dports/python

devans at macports.org devans at macports.org
Mon Feb 8 13:25:57 PST 2016


Revision: 145528
          https://trac.macports.org/changeset/145528
Author:   devans at macports.org
Date:     2016-02-08 13:25:57 -0800 (Mon, 08 Feb 2016)
Log Message:
-----------
py-google-apputils: new port, Google Application Utilities for Python.

Added Paths:
-----------
    trunk/dports/python/py-google-apputils/
    trunk/dports/python/py-google-apputils/Portfile

Added: trunk/dports/python/py-google-apputils/Portfile
===================================================================
--- trunk/dports/python/py-google-apputils/Portfile	                        (rev 0)
+++ trunk/dports/python/py-google-apputils/Portfile	2016-02-08 21:25:57 UTC (rev 145528)
@@ -0,0 +1,51 @@
+# -*- 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
+
+name                py-google-apputils
+version             0.4.2
+platforms           darwin
+license             Apache-2
+
+# build fails with python3
+# https://github.com/google/google-apputils/issues/9
+
+python.versions     26 27
+
+maintainers         devans openmaintainer
+
+description         Google Application Utilities for Python
+
+long_description    This project is a small collection of utilities for building Python \
+                    applications. It includes some of the same set of utilities used to build and \
+                    run internal Python apps at Google.
+
+homepage            https://github.com/google/google-apputils
+master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
+
+distname            ${python.rootname}-${version}
+
+checksums           rmd160  b661a451df07ac2f7c7a345e6a663d730957e28b \
+                    sha256  47959d0651c32102c10ad919b8a0ffe0ae85f44b8457ddcf2bdc0358fb03dc29
+
+if {${name} ne ${subport}} {
+    depends_build-append \
+                    port:py${python.version}-setuptools
+
+    depends_lib-append \
+                    port:py${python.version}-dateutil \
+                    port:py${python.version}-gflags \
+                    port:py${python.version}-tz
+
+    post-extract {
+        foreach _file [glob ${worksrcpath}/google_apputils.egg-info/*] {
+            file attributes $_file -permissions 0644
+        }
+    }
+    
+    livecheck.type      none
+} else {
+    livecheck.type      pypi
+}


Property changes on: trunk/dports/python/py-google-apputils/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/20160208/fcd93d52/attachment.html>


More information about the macports-changes mailing list