# -*- 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 1.1 python.versions 25 26 27 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 http://pypi.python.org/packages/source/o/${realname} distname ${realname}-${version} if {$subport != $name} { depends_build-append port:py${python.version}-setuptools post-destroot { set egg-info ${destroot}${python.pkgd}/${realname}-${version}-py${python.branch}.egg-info foreach d [glob -dir ${egg-info} *] { file attributes ${d} -permissions 0644 } } } checksums rmd160 ab43a71dc403e52d07f88a95ba5293f1004ca3db \ sha256 8505bfbe87f45a511ab256896da244eed560acf7d9372a6f7036cd494476c662 livecheck.type regex livecheck.url http://pypi.python.org/pypi/${realname} livecheck.regex "${realname} (\[1-9\]+\.\[0-9\]+)"