[89117] trunk/dports/python
singingwolfboy at macports.org
singingwolfboy at macports.org
Thu Jan 19 11:47:03 PST 2012
Revision: 89117
http://trac.macports.org/changeset/89117
Author: singingwolfboy at macports.org
Date: 2012-01-19 11:47:02 -0800 (Thu, 19 Jan 2012)
Log Message:
-----------
Converted py-werkzeug, py25-werkzeug, and py26-werkzeug to unified format; updated to v0.8.2. Fixes #32498
Modified Paths:
--------------
trunk/dports/python/py-werkzeug/Portfile
Removed Paths:
-------------
trunk/dports/python/py-werkzeug/files/
trunk/dports/python/py25-werkzeug/
trunk/dports/python/py26-werkzeug/
Modified: trunk/dports/python/py-werkzeug/Portfile
===================================================================
--- trunk/dports/python/py-werkzeug/Portfile 2012-01-19 19:34:36 UTC (rev 89116)
+++ trunk/dports/python/py-werkzeug/Portfile 2012-01-19 19:47:02 UTC (rev 89117)
@@ -1,44 +1,83 @@
+# -*- 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 python24 1.0
+PortGroup python 1.0
name py-werkzeug
-version 0.4.1
-revision 1
-categories-append devel
-depends_lib-append port:py24-distribute
-platforms darwin
-maintainers nomaintainer
+version 0.8.2
+python.versions 24 25 26 27
+revision 0
+categories-append www
+maintainers openmaintainer akitada
supported_archs noarch
-homepage http://werkzeug.pocoo.org/
-description The Swiss Army knife of Python web development
-long_description 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.\
+description The Swiss Army knife of Python web development.
+long_description \
+ Werkzeug \
+ ======== \
\
- 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.).
+ 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 <http://werkzeug.pocoo.org/>`_. \
+ \
+ \
+ 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 <http://dev.pocoo.org/hg/werkzeug-main/archive/tip.zip#egg=Werkzeug-dev>`_ \
+ 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 9bc096feb9fc43ea9f6c558b9c330c3e \
- sha1 a0c9c4f203b8afd2c6ec0ca1e0b9c88acc92454b \
- rmd160 c5489f3d45681996cc55d3b7badf28564038fb70
-patchfiles patch-setup.py.diff
-post-patch {
- reinplace "s|@@NAME@@|${name}|g" ${worksrcpath}/setup.py
+checksums rmd160 d685f6911261a5c2e82c14e396dd161687299035 \
+ sha256 15bbc16f586a9ec6606e8a6005373491270901ef8fd47a91898f5183cd383a28
+
+if {$subport != $name} {
+ depends_lib port:py${python.version}-distribute
}
-livecheck.type regex
-livecheck.url http://pypi.python.org/pypi/Werkzeug/
-livecheck.regex Jinja2 (0\.\[0-9\]+\.\[0-9\]+)
+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
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120119/b290dbd9/attachment.html>
More information about the macports-changes
mailing list