[83948] trunk/dports/python

singingwolfboy at macports.org singingwolfboy at macports.org
Tue Sep 13 08:27:00 PDT 2011


Revision: 83948
          http://trac.macports.org/changeset/83948
Author:   singingwolfboy at macports.org
Date:     2011-09-13 08:27:00 -0700 (Tue, 13 Sep 2011)
Log Message:
-----------
Unified py*-googleappengine ports, set snc as maintainer, updated to version 1.5.4. Fixes #31229

Added Paths:
-----------
    trunk/dports/python/py-googleappengine/
    trunk/dports/python/py-googleappengine/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-googleappengine/
    trunk/dports/python/py26-googleappengine/
    trunk/dports/python/py27-googleappengine/

Copied: trunk/dports/python/py-googleappengine/Portfile (from rev 83947, trunk/dports/python/py25-googleappengine/Portfile)
===================================================================
--- trunk/dports/python/py-googleappengine/Portfile	                        (rev 0)
+++ trunk/dports/python/py-googleappengine/Portfile	2011-09-13 15:27:00 UTC (rev 83948)
@@ -0,0 +1,42 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem              1.0
+PortGroup               python 1.0
+
+name                    py-googleappengine
+version                 1.5.4
+python.versions         25 26 27
+python.default_version  25
+categories-append       devel www
+maintainers             snc openmaintainer
+description             The Google App Engine Python SDK
+long_description        This is the official Google App Engine SDK for Python.
+platforms               darwin
+
+homepage                http://code.google.com/appengine/
+master_sites            googlecode:googleappengine
+distname                google_appengine_${version}
+use_zip                 yes
+worksrcdir              google_appengine
+
+checksums           sha1    0c580fa233527dd701d9363eebc8ee0a7fe8dd95 \
+                    rmd160  165f924a68a7835f43bd90e5d598209939d303d9
+
+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 {}
+
+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/20110913/27421a11/attachment.html>


More information about the macports-changes mailing list