# -*- 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-api set realname google-api-python-client version 1.5.0 revision 1 python.versions 27 34 35 categories-append www devel maintainers nomaintainer license Apache-2 MIT 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 pypi:g/${realname}/ distname ${realname}-${version} checksums rmd160 c6cbb670bd402e9b466e404c709d3655a5e861e7 \ sha256 ffb89782c74702bd47d217709741717f0e4812d87f6cea04783f991d3eb51abd 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 post-destroot { 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.type none } else { livecheck.type pypi livecheck.name ${realname} }