[54212] trunk/dports/python/py25-gdata/Portfile

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


Revision: 54212
          http://trac.macports.org/changeset/54212
Author:   aecollins1 at macports.org
Date:     2009-07-22 20:35:35 -0700 (Wed, 22 Jul 2009)
Log Message:
-----------
Changed py25-gdata to use python.branch and removed a now redundant py25-elementtree dependency.

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

Modified: trunk/dports/python/py25-gdata/Portfile
===================================================================
--- trunk/dports/python/py25-gdata/Portfile	2009-07-23 03:33:44 UTC (rev 54211)
+++ trunk/dports/python/py25-gdata/Portfile	2009-07-23 03:35:35 UTC (rev 54212)
@@ -22,20 +22,19 @@
                     sha1    22b62dd95ab181eb87caef240d867e4bf721a4ab \
                     rmd160  f3e0b6294ce74608b2e36b3ebf456eb20c1c1524
 
-depends_lib         port:py25-setuptools \
-                    port:py25-elementtree
+depends_lib         port:py25-setuptools
 
 post-destroot {
 
     eval reinplace \
-        "s|/usr/local/svn/gdata-python-client/src|${prefix}/lib/python2.5/site-packages|g" \
+        "s|/usr/local/svn/gdata-python-client/src|${prefix}/lib/python${python.branch}/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" \
+    eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python${python.branch}|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/a786ea83/attachment.html>


More information about the macports-changes mailing list