1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python27 1.0 |
---|
6 | |
---|
7 | name py27-werkzeug |
---|
8 | version 0.6.2 |
---|
9 | revision 1 |
---|
10 | categories-append www |
---|
11 | maintainers openmaintainer |
---|
12 | supported_archs noarch |
---|
13 | |
---|
14 | description The Swiss Army knife of Python web development. |
---|
15 | long_description \ |
---|
16 | Werkzeug \ |
---|
17 | ======== \ |
---|
18 | \ |
---|
19 | Werkzeug started as simple collection of various utilities for WSGI \ |
---|
20 | applications and has become one of the most advanced WSGI utility \ |
---|
21 | modules. It includes a powerful debugger, full featured request and \ |
---|
22 | response objects, HTTP utilities to handle entity tags, cache control \ |
---|
23 | headers, HTTP dates, cookie handling, file uploads, a powerful URL \ |
---|
24 | routing system and a bunch of community contributed addon modules. \ |
---|
25 | \ |
---|
26 | Werkzeug is unicode aware and doesn't enforce a specific template \ |
---|
27 | engine, database adapter or anything else. It doesn't even enforce \ |
---|
28 | a specific way of handling requests and leaves all that up to the \ |
---|
29 | developer. It's most useful for end user applications which should work \ |
---|
30 | on as many server environments as possible (such as blogs, wikis, \ |
---|
31 | bulletin boards, etc.). \ |
---|
32 | \ |
---|
33 | Details and example applications are available on the \ |
---|
34 | `Werkzeug website <http://werkzeug.pocoo.org/>`_. \ |
---|
35 | \ |
---|
36 | \ |
---|
37 | Features \ |
---|
38 | -------- \ |
---|
39 | \ |
---|
40 | - unicode awareness \ |
---|
41 | - request and response objects \ |
---|
42 | - various utility functions for dealing with HTTP headers such as \ |
---|
43 | `Accept` and `Cache-Control` headers. \ |
---|
44 | - thread local objects with proper cleanup at request end \ |
---|
45 | - an interactive debugger \ |
---|
46 | - wrapper around wsgiref that works around some of the limitations \ |
---|
47 | and bugs, adds threading and fork support for test environments \ |
---|
48 | and adds an automatic reloader. \ |
---|
49 | - a flexible URL routing system with REST support. \ |
---|
50 | - fully WSGI compatible \ |
---|
51 | \ |
---|
52 | \ |
---|
53 | Development Version \ |
---|
54 | ------------------- \ |
---|
55 | \ |
---|
56 | The `Werkzeug tip <http://dev.pocoo.org/hg/werkzeug-main/archive/tip.zip#egg=Werkzeug-dev>`_ \ |
---|
57 | is installable via `easy_install` with ``easy_install Werkzeug==dev``. |
---|
58 | |
---|
59 | platforms darwin |
---|
60 | |
---|
61 | homepage http://werkzeug.pocoo.org/ |
---|
62 | master_sites http://pypi.python.org/packages/source/W/Werkzeug/ |
---|
63 | distname Werkzeug-${version} |
---|
64 | |
---|
65 | checksums md5 519408350346a247333bb5d584371724 \ |
---|
66 | sha1 2056379ba01c7a46561280a14cb0a6bf40050ab9 \ |
---|
67 | rmd160 19f24380f201385f379274a530dd9fe287341d19 |
---|
68 | |
---|
69 | depends_lib port:py27-distribute |
---|
70 | |
---|
71 | post-destroot { |
---|
72 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples |
---|
73 | foreach f [glob -directory ${worksrcpath}/docs *] { |
---|
74 | copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f] |
---|
75 | } |
---|
76 | foreach f [glob -directory ${worksrcpath}/examples *] { |
---|
77 | copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f] |
---|
78 | } |
---|
79 | } |
---|