[74963] trunk/dports/python/py25-googleappengine/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Sun Jan 9 18:34:57 PST 2011


Revision: 74963
          http://trac.macports.org/changeset/74963
Author:   singingwolfboy at macports.org
Date:     2011-01-09 18:34:50 -0800 (Sun, 09 Jan 2011)
Log Message:
-----------
Added post-build step to change shebang line for py25-googleappengine

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

Modified: trunk/dports/python/py25-googleappengine/Portfile
===================================================================
--- trunk/dports/python/py25-googleappengine/Portfile	2011-01-10 02:23:51 UTC (rev 74962)
+++ trunk/dports/python/py25-googleappengine/Portfile	2011-01-10 02:34:50 UTC (rev 74963)
@@ -6,6 +6,7 @@
 
 name                    py25-googleappengine
 version                 1.4.1
+revision                1
 categories-append       devel www
 maintainers             gmail.com:newlix.yang openmaintainer
 description             The Google App Engine Python SDK
@@ -22,6 +23,10 @@
                         sha1    379aa89505e3427563a89e3451d6129e4725a533 \
                         rmd160  76a8329890fc552b9e5d0e6892324191b4d22085
 
+post-build {
+    eval reinplace "\"s|#!/usr/bin/env python|#!${prefix}/bin/python2.5|\"" [glob ${worksrcpath}/*.py]
+}
+
 destroot {
     file rename ${worksrcpath} ${destroot}${prefix}/share/${worksrcdir}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110109/462e5e9f/attachment.html>


More information about the macports-changes mailing list