[99573] trunk/dports/python/py-google-api/Portfile

and.damore at macports.org and.damore at macports.org
Sat Nov 10 03:56:35 PST 2012


Revision: 99573
          http://trac.macports.org//changeset/99573
Author:   and.damore at macports.org
Date:     2012-11-10 03:56:35 -0800 (Sat, 10 Nov 2012)
Log Message:
-----------
port py-google-api: adds samples, ticket #36778, maintainer timeout

Modified Paths:
--------------
    trunk/dports/python/py-google-api/Portfile

Modified: trunk/dports/python/py-google-api/Portfile
===================================================================
--- trunk/dports/python/py-google-api/Portfile	2012-11-10 11:54:03 UTC (rev 99572)
+++ trunk/dports/python/py-google-api/Portfile	2012-11-10 11:56:35 UTC (rev 99573)
@@ -7,10 +7,10 @@
 name                py-google-api
 set realname        google-api-python-client
 version             1.0
-revision            1
+revision            2
 python.versions     25 26 27 31 32
 categories-append   www devel
-maintainers         openmaintainer singingwolfboy
+maintainers         singingwolfboy openmaintainer
 license             Apache-2.0
 description         client library for accessing the Plus, Moderator, and many \
                     other Google APIs
@@ -22,6 +22,8 @@
 homepage            http://pypi.python.org/pypi/${realname}
 master_sites        googlecode:${realname}
 distname            ${realname}-${version}
+distfiles           ${distname}${extract.suffix} \
+                    ${realname}-samples-${version}${extract.suffix}
 
 if {$subport != $name} {
     depends_lib-append      port:py${python.version}-httplib2 \
@@ -37,6 +39,9 @@
         foreach d [glob -dir ${egg-info} *] {
             file attributes ${d} -permissions 0644
         }
+
+        xinstall -d -m 555 ${destroot}${prefix}/share/examples
+        copy ${workpath}/samples ${destroot}${prefix}/share/examples/${subport}
     }
 }
 
@@ -44,8 +49,12 @@
     depends_lib-append      port:py25-simplejson
 }
 
-checksums           rmd160  334d0a4c53a964bab277b1c32f90bc7fa5830e91 \
-                    sha256  83d22f975791135f09927971bd057d5a851a4061fd3f8bc3b7f9438ee79a5cfd
+checksums           google-api-python-client-1.0.tar.gz \
+                    rmd160  334d0a4c53a964bab277b1c32f90bc7fa5830e91 \
+                    sha256  83d22f975791135f09927971bd057d5a851a4061fd3f8bc3b7f9438ee79a5cfd \
+                    google-api-python-client-samples-1.0.tar.gz \
+                    rmd160  014bd8054853dbd7cb0ccd33ed01a946bd98afbf \
+                    sha256  7293c55e871758b3ea6441a42fc9f892c74b1e483d645f9da933fbed38f372b5
 
 livecheck.type      regex
 livecheck.url       http://pypi.python.org/pypi/${realname}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121110/077a193d/attachment-0001.html>


More information about the macports-changes mailing list