source: trunk/dports/python/py-werkzeug/Portfile @ 107963

Last change on this file since 107963 was 107963, checked in by cal@…, 6 years ago

py-werkzeug: update to 0.9.1, openmaintainer, closes #39679

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