[48642] trunk/dports/python
snc at macports.org
snc at macports.org
Thu Mar 26 12:42:39 PDT 2009
Revision: 48642
http://trac.macports.org/changeset/48642
Author: snc at macports.org
Date: 2009-03-26 12:42:38 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
created py-werkzeug, ticket #17435
Added Paths:
-----------
trunk/dports/python/py-werkzeug/
trunk/dports/python/py-werkzeug/Portfile
trunk/dports/python/py-werkzeug/files/
trunk/dports/python/py-werkzeug/files/patch-setup.py.diff
Added: trunk/dports/python/py-werkzeug/Portfile
===================================================================
--- trunk/dports/python/py-werkzeug/Portfile (rev 0)
+++ trunk/dports/python/py-werkzeug/Portfile 2009-03-26 19:42:38 UTC (rev 48642)
@@ -0,0 +1,42 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python24 1.0
+
+name py-werkzeug
+version 0.4.1
+categories-append devel
+depends_lib-append port:py-setuptools
+platforms darwin
+maintainers arthurkoziel.com:arthur openmaintainer
+
+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.\
+ \
+ 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.).
+
+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
+}
+
+livecheck.check regex
+livecheck.url http://pypi.python.org/pypi/Werkzeug/
+livecheck.regex Jinja2 (0\.\[0-9\]+\.\[0-9\]+)
Property changes on: trunk/dports/python/py-werkzeug/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py-werkzeug/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-werkzeug/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py-werkzeug/files/patch-setup.py.diff 2009-03-26 19:42:38 UTC (rev 48642)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2009-03-20 09:39:27.000000000 +0100
++++ setup.py 2009-03-20 09:39:38.000000000 +0100
+@@ -66,7 +66,7 @@
+ fn = os.path.join(documentation_path, fn)
+ if os.path.isfile(fn):
+ documentation_files.append(fn)
+- data_files.append(('docs', documentation_files))
++ data_files.append(('share/doc/@@NAME@@', documentation_files))
+
+
+ setup(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090326/67faadfb/attachment.html>
More information about the macports-changes
mailing list