Ticket #38469: py-oauth2client.diff
File py-oauth2client.diff, 2.1 KB (added by tresni (Brian Hartvigsen), 11 years ago) |
---|
-
Portfile
old new 5 5 PortGroup python 1.0 6 6 7 7 name py-oauth2client 8 version 1.0 9 python.versions 25 26 27 31 32 8 set realname oauth2client 9 version 1.1 10 11 python.versions 25 26 27 12 10 13 categories-append www 11 14 maintainers nomaintainer 12 15 license Apache-2 … … 16 19 platforms darwin 17 20 supported_archs noarch 18 21 19 master_sites http://pypi.python.org/packages/source/o/oauth2client 20 distname oauth2client-${version} 22 homepage http://pypi.python.org/pypi/${realname} 23 master_sites http://pypi.python.org/packages/source/o/${realname} 24 distname ${realname}-${version} 21 25 22 26 if {$subport != $name} { 23 depends_build-append port:py${python.version}-distribute27 depends_build-append port:py${python.version}-distribute 24 28 25 post-destroot { 26 set egg-info ${destroot}${python.pkgd}/oauth2client-${version}-py${python.branch}.egg-info 27 foreach d [glob -dir ${egg-info} *] { 28 file attributes ${d} -permissions 0644 29 post-destroot { 30 set egg-info ${destroot}${python.pkgd}/${realname}-${version}-py${python.branch}.egg-info 31 foreach d [glob -dir ${egg-info} *] { 32 file attributes ${d} -permissions 0644 33 } 29 34 } 30 35 } 31 }32 36 33 checksums rmd160 41f2fd682491042e5f1e596ba24be865730fdaa3\34 sha256 9122e21921eabe3d33da0ed096f49ce347457e9b293000a2859c850e9417bbba37 checksums rmd160 ab43a71dc403e52d07f88a95ba5293f1004ca3db \ 38 sha256 8505bfbe87f45a511ab256896da244eed560acf7d9372a6f7036cd494476c662 35 39 36 40 livecheck.type regex 37 livecheck.url http://pypi.python.org/pypi/ oauth2client38 livecheck.regex " oauth2client(\[1-9\]+\.\[0-9\]+)"41 livecheck.url http://pypi.python.org/pypi/${realname} 42 livecheck.regex "${realname} (\[1-9\]+\.\[0-9\]+)"