# -*- 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-oauth2client set realname oauth2client version 2.0.2 python.versions 27 34 35 categories-append www maintainers nomaintainer license Apache-2 description client library for OAuth 2.0 long_description ${description} platforms darwin supported_archs noarch homepage http://pypi.python.org/pypi/${realname} master_sites pypi:o/${realname} distname ${realname}-${version} checksums rmd160 b8f80c2d87718e7db5d8ce4bd05957c365e730a8 \ sha256 c9f7bf68e9d0f9ec055f1f2f487e5ea53b97b7a2b82f01d48d9a9bb68239535a if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-httplib2 \ port:py${python.version}-uritemplate post-destroot { delete ${destroot}${python.pkgd}/uritemplate set egg-info ${destroot}${python.pkgd}/${realname}-${version}-py${python.branch}.egg-info foreach d [glob -dir ${egg-info} *] { file attributes ${d} -permissions 0644 } } livecheck.type none } else { livecheck.type pypi livecheck.name ${realname} }