Ticket #36778: port_py-google-apy.diff
File port_py-google-apy.diff, 2.0 KB (added by anddam (Andrea D'Amore), 12 years ago) |
---|
-
Portfile
7 7 name py-google-api 8 8 set realname google-api-python-client 9 9 version 1.0 10 revision 110 revision 2 11 11 python.versions 25 26 27 31 32 12 12 categories-append www devel 13 maintainers openmaintainer singingwolfboy13 maintainers singingwolfboy openmaintainer 14 14 license Apache-2.0 15 15 description client library for accessing the Plus, Moderator, and many \ 16 16 other Google APIs … … 22 22 homepage http://pypi.python.org/pypi/${realname} 23 23 master_sites googlecode:${realname} 24 24 distname ${realname}-${version} 25 distfiles ${distname}${extract.suffix} \ 26 ${realname}-samples-${version}${extract.suffix} 25 27 26 28 if {$subport != $name} { 27 29 depends_lib-append port:py${python.version}-httplib2 \ … … 37 39 foreach d [glob -dir ${egg-info} *] { 38 40 file attributes ${d} -permissions 0644 39 41 } 42 43 xinstall -d -m 555 ${destroot}${prefix}/share/examples 44 copy ${workpath}/samples ${destroot}${prefix}/share/examples/${subport} 40 45 } 41 46 } 42 47 … … 44 49 depends_lib-append port:py25-simplejson 45 50 } 46 51 47 checksums rmd160 334d0a4c53a964bab277b1c32f90bc7fa5830e91 \ 48 sha256 83d22f975791135f09927971bd057d5a851a4061fd3f8bc3b7f9438ee79a5cfd 52 checksums google-api-python-client-1.0.tar.gz \ 53 rmd160 334d0a4c53a964bab277b1c32f90bc7fa5830e91 \ 54 sha256 83d22f975791135f09927971bd057d5a851a4061fd3f8bc3b7f9438ee79a5cfd \ 55 google-api-python-client-samples-1.0.tar.gz \ 56 rmd160 014bd8054853dbd7cb0ccd33ed01a946bd98afbf \ 57 sha256 7293c55e871758b3ea6441a42fc9f892c74b1e483d645f9da933fbed38f372b5 49 58 50 59 livecheck.type regex 51 60 livecheck.url http://pypi.python.org/pypi/${realname}