[122539] trunk/dports/python/py-werkzeug/Portfile
stromnov at macports.org
stromnov at macports.org
Wed Jul 23 13:47:19 PDT 2014
Revision: 122539
https://trac.macports.org/changeset/122539
Author: stromnov at macports.org
Date: 2014-07-23 13:47:19 -0700 (Wed, 23 Jul 2014)
Log Message:
-----------
py-werkzeug: reformat Portfile
Modified Paths:
--------------
trunk/dports/python/py-werkzeug/Portfile
Modified: trunk/dports/python/py-werkzeug/Portfile
===================================================================
--- trunk/dports/python/py-werkzeug/Portfile 2014-07-23 20:16:57 UTC (rev 122538)
+++ trunk/dports/python/py-werkzeug/Portfile 2014-07-23 20:47:19 UTC (rev 122539)
@@ -6,61 +6,28 @@
name py-werkzeug
version 0.9.1
-python.versions 24 25 26 27
+revision 0
categories-append www
+platforms darwin
license BSD MIT
-maintainers stromnov openmaintainer
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 <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``.
+python.versions 24 25 26 27
-platforms darwin
+maintainers stromnov openmaintainer
+description The Swiss Army knife of Python web development
+
+long_description Werkzeug is a 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.
+
homepage http://werkzeug.pocoo.org/
-master_sites http://pypi.python.org/packages/source/W/Werkzeug/
+master_sites https://pypi.python.org/packages/source/W/Werkzeug/
+
distname Werkzeug-${version}
checksums rmd160 d355332ff7f409c53d93c2e5feb28be175ef7fa2 \
@@ -69,16 +36,15 @@
if {${name} ne ${subport}} {
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]
+ 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
}
- foreach f [glob -directory ${worksrcpath}/examples *] {
- copy $f ${docdir}/examples/[file tail $f]
- }
- delete ${docdir}/Makefile
}
-
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140723/8119461d/attachment.html>
More information about the macports-changes
mailing list