[54209] trunk/dports/python

aecollins1 at macports.org aecollins1 at macports.org
Wed Jul 22 20:17:39 PDT 2009


Revision: 54209
          http://trac.macports.org/changeset/54209
Author:   aecollins1 at macports.org
Date:     2009-07-22 20:17:38 -0700 (Wed, 22 Jul 2009)
Log Message:
-----------
New port: py26-gdata (based on Portfile of py25-gdata), ticket #20329

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

Added: trunk/dports/python/py26-gdata/Portfile
===================================================================
--- trunk/dports/python/py26-gdata/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-gdata/Portfile	2009-07-23 03:17:38 UTC (rev 54209)
@@ -0,0 +1,44 @@
+# $Id$
+
+PortSystem          1.0
+PortGroup           python26 1.0
+
+name                py26-gdata
+version             2.0.0
+categories-append   devel
+maintainers         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-${version}
+
+checksums           md5 09de4e7a958cc2584e159b07185bdd31 \
+                    sha1 22b62dd95ab181eb87caef240d867e4bf721a4ab \
+                    rmd160 f3e0b6294ce74608b2e36b3ebf456eb20c1c1524
+
+depends_lib         port:py26-setuptools
+
+set python.prefix   ${frameworks_dir}/Python.framework/Versions/2.6
+
+post-destroot {
+
+    eval reinplace \
+        "s|/usr/local/svn/gdata-python-client/src|${python.prefix}/lib/python2.6/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.6|g" \
+        [glob ${worksrcpath}/samples/*/*.py]
+    file copy ${worksrcpath}/samples \
+        ${destroot}${prefix}/share/doc/${name}/
+        
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090722/ddd6c7a5/attachment.html>


More information about the macports-changes mailing list