# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
python.default_version 25
categories-append devel www
maintainers snc openmaintainer
license Apache-2 {MPL-1.1 GPL-2+ LGPL-2.1+}
description The Google App Engine Python SDK
long_description This is the official Google App Engine SDK for Python.
homepage http://code.google.com/appengine/
master_sites googlecode:googleappengine
distname google_appengine_${version}
worksrcdir google_appengine
checksums sha1 e71bbbf185b746822b19d9c4eafe995a772fc993 \
rmd160 b36e6856c9cb440fc3c6db007bed1a803f57938a
eval reinplace "\"s|#!/usr/bin/env python|#!${python.bin}|\"" [glob ${worksrcpath}/*.py]
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}"
livecheck.name googleappengine
livecheck.regex google_appengine_(\\d+(\\.\\d+)+)