1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python25 1.0 |
---|
5 | |
---|
6 | name py25-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:py25-setuptools \ |
---|
26 | port:py25-elementtree \ |
---|
27 | port:py25-socket-ssl |
---|
28 | |
---|
29 | post-destroot { |
---|
30 | |
---|
31 | eval reinplace \ |
---|
32 | "s|/home/jhartmann/gdata-python-client2/src|${prefix}/lib/python2.5/site-packages|g" \ |
---|
33 | [glob ${worksrcpath}/pydocs/*.html] |
---|
34 | |
---|
35 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
36 | eval file copy [glob ${worksrcpath}/pydocs/*.html] \ |
---|
37 | ${destroot}${prefix}/share/doc/${name} |
---|
38 | |
---|
39 | eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.5|g" \ |
---|
40 | [glob ${worksrcpath}/samples/*/*.py] |
---|
41 | file copy ${worksrcpath}/samples \ |
---|
42 | ${destroot}${prefix}/share/doc/${name}/ |
---|
43 | } |
---|
44 | |
---|