[54213] trunk/dports/python/py-gdata/Portfile

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


Revision: 54213
          http://trac.macports.org/changeset/54213
Author:   aecollins1 at macports.org
Date:     2009-07-22 20:46:36 -0700 (Wed, 22 Jul 2009)
Log Message:
-----------
Use python.branch, just for consistency with py2[5|6]-gdata Portfiles

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

Modified: trunk/dports/python/py-gdata/Portfile
===================================================================
--- trunk/dports/python/py-gdata/Portfile	2009-07-23 03:35:35 UTC (rev 54212)
+++ trunk/dports/python/py-gdata/Portfile	2009-07-23 03:46:36 UTC (rev 54213)
@@ -28,14 +28,14 @@
 post-destroot {
 
     eval reinplace \
-        "s|/usr/local/svn/gdata-python-client/src|${prefix}/lib/python2.4/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.4|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/c2bbe5eb/attachment.html>


More information about the macports-changes mailing list