# -*- 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
# $Id$
PortSystem 1.0
PortGroup python27 1.0
name py27-werkzeug
version 0.6.2
revision 1
categories-append www
maintainers openmaintainer
supported_archs noarch
description The Swiss Army knife of Python web development.
long_description \
Werkzeug \
======== \
\
Werkzeug started as simple collection of various utilities for WSGI \
applications and has become one of the most advanced WSGI utility \
modules. It includes a powerful debugger, full featured request and \
response objects, HTTP utilities to handle entity tags, cache control \
headers, HTTP dates, cookie handling, file uploads, a powerful URL \
routing system and a bunch of community contributed addon modules. \
\
Werkzeug is unicode aware and doesn't enforce a specific template \
engine, database adapter or anything else. It doesn't even enforce \
a specific way of handling requests and leaves all that up to the \
developer. It's most useful for end user applications which should work \
on as many server environments as possible (such as blogs, wikis, \
bulletin boards, etc.). \
\
Details and example applications are available on the \
`Werkzeug website `_. \
\
\
Features \
-------- \
\
- unicode awareness \
- request and response objects \
- various utility functions for dealing with HTTP headers such as \
`Accept` and `Cache-Control` headers. \
- thread local objects with proper cleanup at request end \
- an interactive debugger \
- wrapper around wsgiref that works around some of the limitations \
and bugs, adds threading and fork support for test environments \
and adds an automatic reloader. \
- a flexible URL routing system with REST support. \
- fully WSGI compatible \
\
\
Development Version \
------------------- \
\
The `Werkzeug tip `_ \
is installable via `easy_install` with ``easy_install Werkzeug==dev``.
platforms darwin
homepage http://werkzeug.pocoo.org/
master_sites http://pypi.python.org/packages/source/W/Werkzeug/
distname Werkzeug-${version}
checksums md5 519408350346a247333bb5d584371724 \
sha1 2056379ba01c7a46561280a14cb0a6bf40050ab9 \
rmd160 19f24380f201385f379274a530dd9fe287341d19
depends_lib port:py27-distribute
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
foreach f [glob -directory ${worksrcpath}/docs *] {
copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
}
foreach f [glob -directory ${worksrcpath}/examples *] {
copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f]
}
}