Revision
98300
Author
singingwolfboy@macports.org
Date
2012-10-02 07:41:37 -0700 (Tue, 02 Oct 2012)

Log Message

New port: py-google-api

Added Paths

Diff

Added: trunk/dports/python/py-google-api/Portfile (0 => 98300)


--- trunk/dports/python/py-google-api/Portfile	                        (rev 0)
+++ trunk/dports/python/py-google-api/Portfile	2012-10-02 14:41:37 UTC (rev 98300)
@@ -0,0 +1,45 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           python 1.0
+
+name                py-google-api
+set realname        google-api-python-client
+version             1.0
+python.versions     25 26 27 31 32
+categories-append   www devel
+maintainers         openmaintainer singingwolfboy
+license             Apache-2.0
+description         client library for accessing the Plus, Moderator, and many \
+                    other Google APIs
+long_description    ${description}
+
+platforms           darwin
+supported_archs     noarch
+
+homepage            http://pypi.python.org/pypi/${realname}
+master_sites        googlecode:${realname}
+distname            ${realname}-${version}
+
+post-destroot {
+    delete ${destroot}${python.pkgd}/uritemplate
+    delete ${destroot}${python.pkgd}/oauth2client
+}
+
+if {$subport != $name} {
+    depends_lib-append      port:py${python.version}-httplib2 \
+                            port:py${python.version}-gflags \
+                            port:py${python.version}-uritemplate \
+                            port:py${python.version}-oauth2client
+}
+
+subport py25-google-api {
+    depends_lib-append      port:py25-simplejson
+}
+
+checksums           rmd160  334d0a4c53a964bab277b1c32f90bc7fa5830e91 \
+                    sha256  83d22f975791135f09927971bd057d5a851a4061fd3f8bc3b7f9438ee79a5cfd
+
+livecheck.type      regex
+livecheck.url       http://pypi.python.org/pypi/${realname}
+livecheck.regex     "${realname} (\[1-9\]+\.\[0-9\]+)"
Property changes on: trunk/dports/python/py-google-api/Portfile
___________________________________________________________________

Added: svn:keywords

Added: svn:eol-style