[84057] trunk/dports/python/py-googleappengine/Portfile
jmr at macports.org
jmr at macports.org
Thu Sep 15 18:13:24 PDT 2011
Revision: 84057
http://trac.macports.org/changeset/84057
Author: jmr at macports.org
Date: 2011-09-15 18:13:24 -0700 (Thu, 15 Sep 2011)
Log Message:
-----------
py-googleappengine: fix stub
Modified Paths:
--------------
trunk/dports/python/py-googleappengine/Portfile
Modified: trunk/dports/python/py-googleappengine/Portfile
===================================================================
--- trunk/dports/python/py-googleappengine/Portfile 2011-09-16 00:38:17 UTC (rev 84056)
+++ trunk/dports/python/py-googleappengine/Portfile 2011-09-16 01:13:24 UTC (rev 84057)
@@ -25,20 +25,22 @@
checksums sha1 0c580fa233527dd701d9363eebc8ee0a7fe8dd95 \
rmd160 165f924a68a7835f43bd90e5d598209939d303d9
-post-build {
- eval reinplace "\"s|#!/usr/bin/env python|#!${python.bin}|\"" [glob ${worksrcpath}/*.py]
+if {$subport != $name} {
+ post-build {
+ eval reinplace "\"s|#!/usr/bin/env python|#!${python.bin}|\"" [glob ${worksrcpath}/*.py]
+ }
+
+ destroot {
+ file rename ${worksrcpath} ${destroot}${prefix}/share/${worksrcdir}
+
+ # add this directory to the python path, so we can `import google`
+ xinstall -d ${destroot}${python.pkgd}
+ set fp [open "${destroot}${python.pkgd}/googleappengine.pth" "w"]
+ puts $fp "${prefix}/share/${worksrcdir}"
+ close $fp
+ }
+ build {}
}
-destroot {
- file rename ${worksrcpath} ${destroot}${prefix}/share/${worksrcdir}
-
- # add this directory to the python path, so we can `import google`
- xinstall -d ${destroot}${python.pkgd}
- set fp [open "${destroot}${python.pkgd}/googleappengine.pth" "w"]
- puts $fp "${prefix}/share/${worksrcdir}"
- close $fp
-}
-build {}
-
livecheck.name googleappengine
livecheck.regex "location\.href='http://googleappengine.googlecode.com/files/google_appengine_(\\d+\\.\\d+\\.\\d+)\\.zip"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110915/c561a290/attachment.html>
More information about the macports-changes
mailing list