# -*- 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
set realname google-api-python-client
python.versions 27 34 35 36 37
categories-append www devel
description client library for accessing the Plus, Moderator, and many \
long_description ${description}
homepage https://pypi.python.org/pypi/${realname}
master_sites pypi:g/${realname}/
distname ${realname}-${version}
checksums rmd160 d50870fbecb85b293d85cea4952f51b3195bad06 \
sha256 05583a386e323f428552419253765314a4b29828c3cee15be735f9ebfa5aebf2 \
if {${name} ne ${subport}} {
depends_build port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-httplib2 \
port:py${python.version}-six \
port:py${python.version}-uritemplate \
port:py${python.version}-oauth2client
delete ${destroot}${python.pkgd}/uritemplate
delete ${destroot}${python.pkgd}/oauth2client
set egg-info ${destroot}${python.pkgd}/google_api_python_client-${version}-py${python.branch}.egg-info
foreach d [glob -dir ${egg-info} *] {
file attributes ${d} -permissions 0644
xinstall -d -m 555 ${destroot}${prefix}/share/examples
livecheck.name ${realname}