description Google Data API Python Client Library
The Google Data Python Client Library provides a library that makes it \
easy to access data through the Google Data APIs. Many Google services \
(such as Google Calendar and Documents) support the Google Data API \
homepage https://code.google.com/p/gdata-python-client/
master_sites googlecode:gdata-python-client
distname gdata-${version}
checksums md5 13b6e6dd8f9e3e9a8e005e05a8329408 \
sha1 4cd6804f2af81697219307421996c6055c7c16e4 \
rmd160 cbaf2d2540102e8d77462ad75bcf3bfa390671c2
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
"s|/home/afshar/working/gdata-python-client/src|${python.prefix}/lib/python${python.branch}/site-packages|g" \
{*}[glob ${worksrcpath}/pydocs/*.html]
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
file copy {*}[glob ${worksrcpath}/pydocs/*.html] \
${destroot}${prefix}/share/doc/${subport}
reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python${python.branch}|g" \
{*}[glob ${worksrcpath}/samples/*/*.py]
file copy ${worksrcpath}/samples \
${destroot}${prefix}/share/doc/${subport}/
livecheck.type googlecode
livecheck.regex gdata-(\[0-9\.-\]+).tar.gz