[38974] trunk/dports/python

jmr at macports.org jmr at macports.org
Mon Aug 4 10:18:11 PDT 2008


Revision: 38974
          http://trac.macosforge.org/projects/macports/changeset/38974
Author:   jmr at macports.org
Date:     2008-08-04 10:18:11 -0700 (Mon, 04 Aug 2008)
Log Message:
-----------
New port: py25-gdata (#15896)

Added Paths:
-----------
    trunk/dports/python/py25-gdata/
    trunk/dports/python/py25-gdata/Portfile

Added: trunk/dports/python/py25-gdata/Portfile
===================================================================
--- trunk/dports/python/py25-gdata/Portfile	                        (rev 0)
+++ trunk/dports/python/py25-gdata/Portfile	2008-08-04 17:18:11 UTC (rev 38974)
@@ -0,0 +1,43 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           python25 1.0
+
+name                py25-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:py25-setuptools \
+                    port:py25-elementtree \
+                    port:py25-socket-ssl
+
+post-destroot {
+    
+    eval reinplace \
+        "s|/home/jhartmann/gdata-python-client2/src|${prefix}/lib/python2.5/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.5|g" \
+        [glob ${worksrcpath}/samples/*/*.py]
+    file copy ${worksrcpath}/samples \
+        ${destroot}${prefix}/share/doc/${name}/
+}


Property changes on: trunk/dports/python/py25-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/416a7bea/attachment.html 


More information about the macports-changes mailing list