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

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

Change distribute dependencies back to setuptools and mark py*-distribute replaced_by py*-setuptools (#39237).

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