1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python24 1.0 |
---|
5 | |
---|
6 | name py-gdata |
---|
7 | version 1.1.1 |
---|
8 | categories-append devel |
---|
9 | maintainers gmail.com:aecollins1 |
---|
10 | description Google Data API Python Client Library |
---|
11 | long_description \ |
---|
12 | The Google Data Python Client Library provides a library that makes it \ |
---|
13 | easy to access data through the Google Data APIs. Many Google services \ |
---|
14 | (such as Google Calendar and Documents) support the Google Data API \ |
---|
15 | protocol. |
---|
16 | platforms darwin |
---|
17 | homepage http://code.google.com/p/gdata-python-client/ |
---|
18 | master_sites http://gdata-python-client.googlecode.com/files/ |
---|
19 | distname gdata.py-${version} |
---|
20 | |
---|
21 | checksums md5 8addbac38dabdc7e00701d7b60685d4d \ |
---|
22 | sha1 aa0120a6f5a724461d885f6ebce29245f9b2e65e \ |
---|
23 | rmd160 1cb3920d72948e84cdb753dd3f37dc7e03d56717 |
---|
24 | |
---|
25 | depends_lib port:py-setuptools \ |
---|
26 | port:py-elementtree |
---|
27 | |
---|
28 | post-destroot { |
---|
29 | |
---|
30 | eval reinplace \ |
---|
31 | "s|/home/jhartmann/gdata-python-client2/src|${prefix}/lib/python2.4/site-packages|g" \ |
---|
32 | [glob ${worksrcpath}/pydocs/*.html] |
---|
33 | |
---|
34 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
35 | eval file copy [glob ${worksrcpath}/pydocs/*.html] \ |
---|
36 | ${destroot}${prefix}/share/doc/${name} |
---|
37 | |
---|
38 | eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.4|g" \ |
---|
39 | [glob ${worksrcpath}/samples/*/*.py] |
---|
40 | |
---|
41 | file copy ${worksrcpath}/samples \ |
---|
42 | ${destroot}${prefix}/share/doc/${name}/ |
---|
43 | } |
---|
44 | |
---|