Revision: 112770 https://trac.macports.org/changeset/112770 Author: g5pw@macports.org Date: 2013-10-31 04:07:01 -0700 (Thu, 31 Oct 2013) Log Message: ----------- python/py-oauth2client: update to 1.2 add py25-simplejson dependency for python25 subport Modified Paths: -------------- trunk/dports/python/py-oauth2client/Portfile Modified: trunk/dports/python/py-oauth2client/Portfile =================================================================== --- trunk/dports/python/py-oauth2client/Portfile 2013-10-31 11:01:01 UTC (rev 112769) +++ trunk/dports/python/py-oauth2client/Portfile 2013-10-31 11:07:01 UTC (rev 112770) @@ -6,7 +6,7 @@ name py-oauth2client set realname oauth2client -version 1.1 +version 1.2 python.versions 25 26 27 @@ -25,8 +25,12 @@ if {$subport != $name} { depends_build-append port:py${python.version}-setuptools + depends_lib-append port:py${python.version}-httplib2 \ + port:py${python.version}-uritemplate - post-destroot { + 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 @@ -34,9 +38,13 @@ } } -checksums rmd160 ab43a71dc403e52d07f88a95ba5293f1004ca3db \ - sha256 8505bfbe87f45a511ab256896da244eed560acf7d9372a6f7036cd494476c662 +subport py25-oauth2client { + depends_lib-append port:py25-simplejson +} +checksums rmd160 949cd82932f126194bfd53eadf92829ee2152e04 \ + sha256 7ed84c327d61284bb32158ef1b3723106861efd64a8cc07e918a1db33d88fdbd + livecheck.type regex livecheck.url http://pypi.python.org/pypi/${realname} livecheck.regex "${realname} (\[1-9\]+\.\[0-9\]+)"