[38975] trunk/dports/python
jmr at macports.org
jmr at macports.org
Mon Aug 4 10:20:07 PDT 2008
Revision: 38975
http://trac.macosforge.org/projects/macports/changeset/38975
Author: jmr at macports.org
Date: 2008-08-04 10:20:07 -0700 (Mon, 04 Aug 2008)
Log Message:
-----------
New port: py-gdata (#15897)
Added Paths:
-----------
trunk/dports/python/py-gdata/
trunk/dports/python/py-gdata/Portfile
Added: trunk/dports/python/py-gdata/Portfile
===================================================================
--- trunk/dports/python/py-gdata/Portfile (rev 0)
+++ trunk/dports/python/py-gdata/Portfile 2008-08-04 17:20:07 UTC (rev 38975)
@@ -0,0 +1,43 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python24 1.0
+
+name py-gdata
+version 1.1.1
+categories-append devel
+maintainers gmail.com:aecollins1
+description Google Data API Python Client Library
+long_description \
+ The Google Data Python Client Library provides a library that makes it \
+ easy to access data through the Google Data APIs. Many Google services \
+ (such as Google Calendar and Documents) support the Google Data API \
+ protocol.
+platforms darwin
+homepage http://code.google.com/p/gdata-python-client/
+master_sites http://gdata-python-client.googlecode.com/files/
+distname gdata.py-${version}
+
+checksums md5 8addbac38dabdc7e00701d7b60685d4d \
+ sha1 aa0120a6f5a724461d885f6ebce29245f9b2e65e \
+ rmd160 1cb3920d72948e84cdb753dd3f37dc7e03d56717
+
+depends_lib port:py-setuptools \
+ port:py-elementtree
+
+post-destroot {
+
+ eval reinplace \
+ "s|/home/jhartmann/gdata-python-client2/src|${prefix}/lib/python2.4/site-packages|g" \
+ [glob ${worksrcpath}/pydocs/*.html]
+
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ eval file copy [glob ${worksrcpath}/pydocs/*.html] \
+ ${destroot}${prefix}/share/doc/${name}
+
+ eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.4|g" \
+ [glob ${worksrcpath}/samples/*/*.py]
+
+ file copy ${worksrcpath}/samples \
+ ${destroot}${prefix}/share/doc/${name}/
+}
Property changes on: trunk/dports/python/py-gdata/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080804/c10a54c2/attachment-0001.html
More information about the macports-changes
mailing list