Sat Jun 5 23:54:22 2010 UTC ()
Update to Jinja2 2.5

drop maintainership.

Version 2.5
* improved the sort filter (should have worked like this for a long time) by
  adding support for case insensitive searches.
* fixed a bug for getattribute constant folding.
* support for newstyle gettext translations which result in a nicer
  in-template user interface and more consistent catalogs. (Newstyle Gettext)
* it's now possible to register extensions after an environment was created.
Version 2.4.1
* fixed an error reporting bug for undefineds.
Version 2.4
* the environment template loading functions now transparently pass through
  a template object if it was passed to it. This makes it possible to
  import or extend from a template object that was passed to the template.
* added a ModuleLoader that can load templates from precompiled sources. The
  environment now features a method to compile the templates from a configured
  loader into a zip file or folder.
* the _speedups C extension now supports Python 3.
* added support for autoescaping toggling sections and support for evaluation
  contexts (Evaluation Context).
* extensions have a priority now.
Version 2.3.1
* fixed an error reporting bug on all python versions
* fixed an error reporting bug on Python 2.4
Version 2.3
* fixes issue with code generator that causes unbound variables to be
  generated if set was used in if-blocks and other small identifier problems.
* include tags are now able to select between multiple templates and take
  the first that exists, if a list of templates is given.
* fixed a problem with having call blocks in outer scopes that have an
  argument that is also used as local variable in an inner frame
* greatly improved error message reporting
* implicit tuple expressions can no longer be totally empty. This change
  makes {% if %}...{% endif %} a syntax error now.
* added support for translator comments if extracted via babel.
* added with-statement extension.
* experimental Python 3 support.
Version 2.2.1
* fixes some smaller problems for Jinja2 on Jython.
Version 2.2
* Include statements can now be marked with ignore missing to skip non
  existing templates.
* Priority of not raised. It's now possible to write not foo in bar as an
  alias to foo not in bar like in python. Previously the grammar required
  parentheses (not (foo in bar)) which was odd.
* Fixed a bug that caused syntax errors when defining macros or using the
  {% call %} tag inside loops.
* Fixed a bug in the parser that made {{ foo[1, 2] }} impossible.
* Made it possible to refer to names from outer scopes in included templates
  that were unused in the callers frame
* Fixed a bug that caused internal errors if names where used as iteration
  variable and regular variable after the loop if that variable was unused
  before the loop.
* Added support for optional scoped modifier to blocks.
* Added support for line-comments.
* Added the meta module.
* Renamed (undocumented) attribute overlay to overlayed on the environment
  because it was clashing with a method of the same name.
* speedup extension is now disabled by default.


(markd)
diff -r1.1.1.1 -r1.2 pkgsrc/textproc/py-jinja2/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/textproc/py-jinja2/PLIST
diff -r1.1.1.1 -r1.2 pkgsrc/textproc/py-jinja2/distinfo

cvs diff -r1.1.1.1 -r1.2 pkgsrc/textproc/py-jinja2/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/py-jinja2/Makefile 2009/08/05 10:15:09 1.1.1.1
+++ pkgsrc/textproc/py-jinja2/Makefile 2010/06/05 23:54:22 1.2
@@ -1,21 +1,21 @@ @@ -1,21 +1,21 @@
1# $NetBSD: Makefile,v 1.1.1.1 2009/08/05 10:15:09 markd Exp $ 1# $NetBSD: Makefile,v 1.2 2010/06/05 23:54:22 markd Exp $
2# 2#
3 3
4DISTNAME= Jinja2-2.1.1 4DISTNAME= Jinja2-2.5
5PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 5PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
6CATEGORIES= textproc python 6CATEGORIES= textproc python
7MASTER_SITES= http://pypi.python.org/packages/source/J/Jinja2/ 7MASTER_SITES= http://pypi.python.org/packages/source/J/Jinja2/
8 8
9MAINTAINER= markd@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://jinja.pocoo.org/2/ 10HOMEPAGE= http://jinja.pocoo.org/2/
11COMMENT= Small but fast and easy to use stand-alone template engine 11COMMENT= Small but fast and easy to use stand-alone template engine
12LICENSE= modified-bsd 12LICENSE= modified-bsd
13 13
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
15 15
16# move doc directory so its not installed 16# move doc directory so its not installed
17post-patch: 17post-patch:
18 mv ${WRKSRC}/docs/_build ${WRKSRC}/docs/__build 18 mv ${WRKSRC}/docs/_build ${WRKSRC}/docs/__build
19 19
20.include "../../lang/python/egg.mk" 20.include "../../lang/python/egg.mk"
21.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/textproc/py-jinja2/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/py-jinja2/PLIST 2009/08/05 10:15:09 1.1.1.1
+++ pkgsrc/textproc/py-jinja2/PLIST 2010/06/05 23:54:22 1.2
@@ -1,28 +1,28 @@ @@ -1,28 +1,28 @@
1@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/05 10:15:09 markd Exp $ 1@comment $NetBSD: PLIST,v 1.2 2010/06/05 23:54:22 markd Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 5${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
6${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 6${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
7${PYSITELIB}/${EGG_INFODIR}/requires.txt 7${PYSITELIB}/${EGG_INFODIR}/requires.txt
8${PYSITELIB}/${EGG_INFODIR}/top_level.txt 8${PYSITELIB}/${EGG_INFODIR}/top_level.txt
9${PYSITELIB}/jinja2/__init__.py 9${PYSITELIB}/jinja2/__init__.py
10${PYSITELIB}/jinja2/__init__.pyc 10${PYSITELIB}/jinja2/__init__.pyc
11${PYSITELIB}/jinja2/__init__.pyo 11${PYSITELIB}/jinja2/__init__.pyo
12${PYSITELIB}/jinja2/_ipysupport.py 12${PYSITELIB}/jinja2/_speedups.c
13${PYSITELIB}/jinja2/_ipysupport.pyc 13${PYSITELIB}/jinja2/_stringdefs.py
14${PYSITELIB}/jinja2/_ipysupport.pyo 14${PYSITELIB}/jinja2/_stringdefs.pyc
15${PYSITELIB}/jinja2/_speedups.so 15${PYSITELIB}/jinja2/_stringdefs.pyo
16${PYSITELIB}/jinja2/bccache.py 16${PYSITELIB}/jinja2/bccache.py
17${PYSITELIB}/jinja2/bccache.pyc 17${PYSITELIB}/jinja2/bccache.pyc
18${PYSITELIB}/jinja2/bccache.pyo 18${PYSITELIB}/jinja2/bccache.pyo
19${PYSITELIB}/jinja2/compiler.py 19${PYSITELIB}/jinja2/compiler.py
20${PYSITELIB}/jinja2/compiler.pyc 20${PYSITELIB}/jinja2/compiler.pyc
21${PYSITELIB}/jinja2/compiler.pyo 21${PYSITELIB}/jinja2/compiler.pyo
22${PYSITELIB}/jinja2/constants.py 22${PYSITELIB}/jinja2/constants.py
23${PYSITELIB}/jinja2/constants.pyc 23${PYSITELIB}/jinja2/constants.pyc
24${PYSITELIB}/jinja2/constants.pyo 24${PYSITELIB}/jinja2/constants.pyo
25${PYSITELIB}/jinja2/debug.py 25${PYSITELIB}/jinja2/debug.py
26${PYSITELIB}/jinja2/debug.pyc 26${PYSITELIB}/jinja2/debug.pyc
27${PYSITELIB}/jinja2/debug.pyo 27${PYSITELIB}/jinja2/debug.pyo
28${PYSITELIB}/jinja2/defaults.py 28${PYSITELIB}/jinja2/defaults.py
@@ -36,37 +36,92 @@ ${PYSITELIB}/jinja2/exceptions.pyc @@ -36,37 +36,92 @@ ${PYSITELIB}/jinja2/exceptions.pyc
36${PYSITELIB}/jinja2/exceptions.pyo 36${PYSITELIB}/jinja2/exceptions.pyo
37${PYSITELIB}/jinja2/ext.py 37${PYSITELIB}/jinja2/ext.py
38${PYSITELIB}/jinja2/ext.pyc 38${PYSITELIB}/jinja2/ext.pyc
39${PYSITELIB}/jinja2/ext.pyo 39${PYSITELIB}/jinja2/ext.pyo
40${PYSITELIB}/jinja2/filters.py 40${PYSITELIB}/jinja2/filters.py
41${PYSITELIB}/jinja2/filters.pyc 41${PYSITELIB}/jinja2/filters.pyc
42${PYSITELIB}/jinja2/filters.pyo 42${PYSITELIB}/jinja2/filters.pyo
43${PYSITELIB}/jinja2/lexer.py 43${PYSITELIB}/jinja2/lexer.py
44${PYSITELIB}/jinja2/lexer.pyc 44${PYSITELIB}/jinja2/lexer.pyc
45${PYSITELIB}/jinja2/lexer.pyo 45${PYSITELIB}/jinja2/lexer.pyo
46${PYSITELIB}/jinja2/loaders.py 46${PYSITELIB}/jinja2/loaders.py
47${PYSITELIB}/jinja2/loaders.pyc 47${PYSITELIB}/jinja2/loaders.pyc
48${PYSITELIB}/jinja2/loaders.pyo 48${PYSITELIB}/jinja2/loaders.pyo
 49${PYSITELIB}/jinja2/meta.py
 50${PYSITELIB}/jinja2/meta.pyc
 51${PYSITELIB}/jinja2/meta.pyo
49${PYSITELIB}/jinja2/nodes.py 52${PYSITELIB}/jinja2/nodes.py
50${PYSITELIB}/jinja2/nodes.pyc 53${PYSITELIB}/jinja2/nodes.pyc
51${PYSITELIB}/jinja2/nodes.pyo 54${PYSITELIB}/jinja2/nodes.pyo
52${PYSITELIB}/jinja2/optimizer.py 55${PYSITELIB}/jinja2/optimizer.py
53${PYSITELIB}/jinja2/optimizer.pyc 56${PYSITELIB}/jinja2/optimizer.pyc
54${PYSITELIB}/jinja2/optimizer.pyo 57${PYSITELIB}/jinja2/optimizer.pyo
55${PYSITELIB}/jinja2/parser.py 58${PYSITELIB}/jinja2/parser.py
56${PYSITELIB}/jinja2/parser.pyc 59${PYSITELIB}/jinja2/parser.pyc
57${PYSITELIB}/jinja2/parser.pyo 60${PYSITELIB}/jinja2/parser.pyo
58${PYSITELIB}/jinja2/runtime.py 61${PYSITELIB}/jinja2/runtime.py
59${PYSITELIB}/jinja2/runtime.pyc 62${PYSITELIB}/jinja2/runtime.pyc
60${PYSITELIB}/jinja2/runtime.pyo 63${PYSITELIB}/jinja2/runtime.pyo
61${PYSITELIB}/jinja2/sandbox.py 64${PYSITELIB}/jinja2/sandbox.py
62${PYSITELIB}/jinja2/sandbox.pyc 65${PYSITELIB}/jinja2/sandbox.pyc
63${PYSITELIB}/jinja2/sandbox.pyo 66${PYSITELIB}/jinja2/sandbox.pyo
64${PYSITELIB}/jinja2/tests.py 67${PYSITELIB}/jinja2/tests.py
65${PYSITELIB}/jinja2/tests.pyc 68${PYSITELIB}/jinja2/tests.pyc
66${PYSITELIB}/jinja2/tests.pyo 69${PYSITELIB}/jinja2/tests.pyo
 70${PYSITELIB}/jinja2/testsuite/__init__.py
 71${PYSITELIB}/jinja2/testsuite/__init__.pyc
 72${PYSITELIB}/jinja2/testsuite/__init__.pyo
 73${PYSITELIB}/jinja2/testsuite/api.py
 74${PYSITELIB}/jinja2/testsuite/api.pyc
 75${PYSITELIB}/jinja2/testsuite/api.pyo
 76${PYSITELIB}/jinja2/testsuite/core_tags.py
 77${PYSITELIB}/jinja2/testsuite/core_tags.pyc
 78${PYSITELIB}/jinja2/testsuite/core_tags.pyo
 79${PYSITELIB}/jinja2/testsuite/debug.py
 80${PYSITELIB}/jinja2/testsuite/debug.pyc
 81${PYSITELIB}/jinja2/testsuite/debug.pyo
 82${PYSITELIB}/jinja2/testsuite/doctests.py
 83${PYSITELIB}/jinja2/testsuite/doctests.pyc
 84${PYSITELIB}/jinja2/testsuite/doctests.pyo
 85${PYSITELIB}/jinja2/testsuite/ext.py
 86${PYSITELIB}/jinja2/testsuite/ext.pyc
 87${PYSITELIB}/jinja2/testsuite/ext.pyo
 88${PYSITELIB}/jinja2/testsuite/filters.py
 89${PYSITELIB}/jinja2/testsuite/filters.pyc
 90${PYSITELIB}/jinja2/testsuite/filters.pyo
 91${PYSITELIB}/jinja2/testsuite/imports.py
 92${PYSITELIB}/jinja2/testsuite/imports.pyc
 93${PYSITELIB}/jinja2/testsuite/imports.pyo
 94${PYSITELIB}/jinja2/testsuite/inheritance.py
 95${PYSITELIB}/jinja2/testsuite/inheritance.pyc
 96${PYSITELIB}/jinja2/testsuite/inheritance.pyo
 97${PYSITELIB}/jinja2/testsuite/lexnparse.py
 98${PYSITELIB}/jinja2/testsuite/lexnparse.pyc
 99${PYSITELIB}/jinja2/testsuite/lexnparse.pyo
 100${PYSITELIB}/jinja2/testsuite/loader.py
 101${PYSITELIB}/jinja2/testsuite/loader.pyc
 102${PYSITELIB}/jinja2/testsuite/loader.pyo
 103${PYSITELIB}/jinja2/testsuite/regression.py
 104${PYSITELIB}/jinja2/testsuite/regression.pyc
 105${PYSITELIB}/jinja2/testsuite/regression.pyo
 106${PYSITELIB}/jinja2/testsuite/res/__init__.py
 107${PYSITELIB}/jinja2/testsuite/res/__init__.pyc
 108${PYSITELIB}/jinja2/testsuite/res/__init__.pyo
 109${PYSITELIB}/jinja2/testsuite/res/templates/broken.html
 110${PYSITELIB}/jinja2/testsuite/res/templates/foo/test.html
 111${PYSITELIB}/jinja2/testsuite/res/templates/syntaxerror.html
 112${PYSITELIB}/jinja2/testsuite/res/templates/test.html
 113${PYSITELIB}/jinja2/testsuite/security.py
 114${PYSITELIB}/jinja2/testsuite/security.pyc
 115${PYSITELIB}/jinja2/testsuite/security.pyo
 116${PYSITELIB}/jinja2/testsuite/tests.py
 117${PYSITELIB}/jinja2/testsuite/tests.pyc
 118${PYSITELIB}/jinja2/testsuite/tests.pyo
 119${PYSITELIB}/jinja2/testsuite/utils.py
 120${PYSITELIB}/jinja2/testsuite/utils.pyc
 121${PYSITELIB}/jinja2/testsuite/utils.pyo
67${PYSITELIB}/jinja2/utils.py 122${PYSITELIB}/jinja2/utils.py
68${PYSITELIB}/jinja2/utils.pyc 123${PYSITELIB}/jinja2/utils.pyc
69${PYSITELIB}/jinja2/utils.pyo 124${PYSITELIB}/jinja2/utils.pyo
70${PYSITELIB}/jinja2/visitor.py 125${PYSITELIB}/jinja2/visitor.py
71${PYSITELIB}/jinja2/visitor.pyc 126${PYSITELIB}/jinja2/visitor.pyc
72${PYSITELIB}/jinja2/visitor.pyo 127${PYSITELIB}/jinja2/visitor.pyo

cvs diff -r1.1.1.1 -r1.2 pkgsrc/textproc/py-jinja2/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/py-jinja2/distinfo 2009/08/05 10:15:09 1.1.1.1
+++ pkgsrc/textproc/py-jinja2/distinfo 2010/06/05 23:54:22 1.2
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.1.1.1 2009/08/05 10:15:09 markd Exp $ 1$NetBSD: distinfo,v 1.2 2010/06/05 23:54:22 markd Exp $
2 2
3SHA1 (Jinja2-2.1.1.tar.gz) = 7776001de0269df324bd80ffeecd6e6c19382e8e 3SHA1 (Jinja2-2.5.tar.gz) = 2a2de83ab4ad00402e0ecf6aa877aed3a9549ca7
4RMD160 (Jinja2-2.1.1.tar.gz) = 4a24259599484b823af42d476fbf004b2de7f7ca 4RMD160 (Jinja2-2.5.tar.gz) = d84d82d5a9ddd5caa51b38492f37739e45d5f815
5Size (Jinja2-2.1.1.tar.gz) = 516303 bytes 5Size (Jinja2-2.5.tar.gz) = 690695 bytes