# -*- 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 python 1.0 name py-werkzeug version 0.9.1 python.versions 24 25 26 27 categories-append www license BSD MIT maintainers openmaintainer akitada 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 rmd160 d355332ff7f409c53d93c2e5feb28be175ef7fa2 \ sha256 d892523bb6110a8ff8bad51982bb76a9c168659b2d58369806fd9bf049b65669 if {$subport != $name} { depends_lib-append port:py${python.version}-setuptools post-destroot { set docdir ${destroot}${prefix}/share/doc/${subport} xinstall -m 755 -d ${docdir}/examples foreach f [glob -directory ${worksrcpath}/docs *] { copy $f ${docdir}/[file tail $f] } foreach f [glob -directory ${worksrcpath}/examples *] { copy $f ${docdir}/examples/[file tail $f] } delete ${docdir}/Makefile } }