pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-jinja2 Update to Jinja2 2.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa2df1880721
branches:  trunk
changeset: 576305:aa2df1880721
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Jun 05 23:54:22 2010 +0000

description:
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.

diffstat:

 textproc/py-jinja2/Makefile |   6 ++--
 textproc/py-jinja2/PLIST    |  65 +++++++++++++++++++++++++++++++++++++++++---
 textproc/py-jinja2/distinfo |   8 ++--
 3 files changed, 67 insertions(+), 12 deletions(-)

diffs (125 lines):

diff -r 59eaab1d7734 -r aa2df1880721 textproc/py-jinja2/Makefile
--- a/textproc/py-jinja2/Makefile       Sat Jun 05 23:10:33 2010 +0000
+++ b/textproc/py-jinja2/Makefile       Sat Jun 05 23:54:22 2010 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/08/05 10:15:09 markd Exp $
+# $NetBSD: Makefile,v 1.2 2010/06/05 23:54:22 markd Exp $
 #
 
-DISTNAME=      Jinja2-2.1.1
+DISTNAME=      Jinja2-2.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    textproc python
 MASTER_SITES=  http://pypi.python.org/packages/source/J/Jinja2/
 
-MAINTAINER=    markd%NetBSD.org@localhost
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://jinja.pocoo.org/2/
 COMMENT=       Small but fast and easy to use stand-alone template engine
 LICENSE=       modified-bsd
diff -r 59eaab1d7734 -r aa2df1880721 textproc/py-jinja2/PLIST
--- a/textproc/py-jinja2/PLIST  Sat Jun 05 23:10:33 2010 +0000
+++ b/textproc/py-jinja2/PLIST  Sat Jun 05 23:54:22 2010 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/05 10:15:09 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2010/06/05 23:54:22 markd Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -9,10 +9,10 @@
 ${PYSITELIB}/jinja2/__init__.py
 ${PYSITELIB}/jinja2/__init__.pyc
 ${PYSITELIB}/jinja2/__init__.pyo
-${PYSITELIB}/jinja2/_ipysupport.py
-${PYSITELIB}/jinja2/_ipysupport.pyc
-${PYSITELIB}/jinja2/_ipysupport.pyo
-${PYSITELIB}/jinja2/_speedups.so
+${PYSITELIB}/jinja2/_speedups.c
+${PYSITELIB}/jinja2/_stringdefs.py
+${PYSITELIB}/jinja2/_stringdefs.pyc
+${PYSITELIB}/jinja2/_stringdefs.pyo
 ${PYSITELIB}/jinja2/bccache.py
 ${PYSITELIB}/jinja2/bccache.pyc
 ${PYSITELIB}/jinja2/bccache.pyo
@@ -46,6 +46,9 @@
 ${PYSITELIB}/jinja2/loaders.py
 ${PYSITELIB}/jinja2/loaders.pyc
 ${PYSITELIB}/jinja2/loaders.pyo
+${PYSITELIB}/jinja2/meta.py
+${PYSITELIB}/jinja2/meta.pyc
+${PYSITELIB}/jinja2/meta.pyo
 ${PYSITELIB}/jinja2/nodes.py
 ${PYSITELIB}/jinja2/nodes.pyc
 ${PYSITELIB}/jinja2/nodes.pyo
@@ -64,6 +67,58 @@
 ${PYSITELIB}/jinja2/tests.py
 ${PYSITELIB}/jinja2/tests.pyc
 ${PYSITELIB}/jinja2/tests.pyo
+${PYSITELIB}/jinja2/testsuite/__init__.py
+${PYSITELIB}/jinja2/testsuite/__init__.pyc
+${PYSITELIB}/jinja2/testsuite/__init__.pyo
+${PYSITELIB}/jinja2/testsuite/api.py
+${PYSITELIB}/jinja2/testsuite/api.pyc
+${PYSITELIB}/jinja2/testsuite/api.pyo
+${PYSITELIB}/jinja2/testsuite/core_tags.py
+${PYSITELIB}/jinja2/testsuite/core_tags.pyc
+${PYSITELIB}/jinja2/testsuite/core_tags.pyo
+${PYSITELIB}/jinja2/testsuite/debug.py
+${PYSITELIB}/jinja2/testsuite/debug.pyc
+${PYSITELIB}/jinja2/testsuite/debug.pyo
+${PYSITELIB}/jinja2/testsuite/doctests.py
+${PYSITELIB}/jinja2/testsuite/doctests.pyc
+${PYSITELIB}/jinja2/testsuite/doctests.pyo
+${PYSITELIB}/jinja2/testsuite/ext.py
+${PYSITELIB}/jinja2/testsuite/ext.pyc
+${PYSITELIB}/jinja2/testsuite/ext.pyo
+${PYSITELIB}/jinja2/testsuite/filters.py
+${PYSITELIB}/jinja2/testsuite/filters.pyc
+${PYSITELIB}/jinja2/testsuite/filters.pyo
+${PYSITELIB}/jinja2/testsuite/imports.py
+${PYSITELIB}/jinja2/testsuite/imports.pyc
+${PYSITELIB}/jinja2/testsuite/imports.pyo
+${PYSITELIB}/jinja2/testsuite/inheritance.py
+${PYSITELIB}/jinja2/testsuite/inheritance.pyc
+${PYSITELIB}/jinja2/testsuite/inheritance.pyo
+${PYSITELIB}/jinja2/testsuite/lexnparse.py
+${PYSITELIB}/jinja2/testsuite/lexnparse.pyc
+${PYSITELIB}/jinja2/testsuite/lexnparse.pyo
+${PYSITELIB}/jinja2/testsuite/loader.py
+${PYSITELIB}/jinja2/testsuite/loader.pyc
+${PYSITELIB}/jinja2/testsuite/loader.pyo
+${PYSITELIB}/jinja2/testsuite/regression.py
+${PYSITELIB}/jinja2/testsuite/regression.pyc
+${PYSITELIB}/jinja2/testsuite/regression.pyo
+${PYSITELIB}/jinja2/testsuite/res/__init__.py
+${PYSITELIB}/jinja2/testsuite/res/__init__.pyc
+${PYSITELIB}/jinja2/testsuite/res/__init__.pyo
+${PYSITELIB}/jinja2/testsuite/res/templates/broken.html
+${PYSITELIB}/jinja2/testsuite/res/templates/foo/test.html
+${PYSITELIB}/jinja2/testsuite/res/templates/syntaxerror.html
+${PYSITELIB}/jinja2/testsuite/res/templates/test.html
+${PYSITELIB}/jinja2/testsuite/security.py
+${PYSITELIB}/jinja2/testsuite/security.pyc
+${PYSITELIB}/jinja2/testsuite/security.pyo
+${PYSITELIB}/jinja2/testsuite/tests.py
+${PYSITELIB}/jinja2/testsuite/tests.pyc
+${PYSITELIB}/jinja2/testsuite/tests.pyo
+${PYSITELIB}/jinja2/testsuite/utils.py
+${PYSITELIB}/jinja2/testsuite/utils.pyc
+${PYSITELIB}/jinja2/testsuite/utils.pyo
 ${PYSITELIB}/jinja2/utils.py
 ${PYSITELIB}/jinja2/utils.pyc
 ${PYSITELIB}/jinja2/utils.pyo
diff -r 59eaab1d7734 -r aa2df1880721 textproc/py-jinja2/distinfo
--- a/textproc/py-jinja2/distinfo       Sat Jun 05 23:10:33 2010 +0000
+++ b/textproc/py-jinja2/distinfo       Sat Jun 05 23:54:22 2010 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/08/05 10:15:09 markd Exp $
+$NetBSD: distinfo,v 1.2 2010/06/05 23:54:22 markd Exp $
 
-SHA1 (Jinja2-2.1.1.tar.gz) = 7776001de0269df324bd80ffeecd6e6c19382e8e
-RMD160 (Jinja2-2.1.1.tar.gz) = 4a24259599484b823af42d476fbf004b2de7f7ca
-Size (Jinja2-2.1.1.tar.gz) = 516303 bytes
+SHA1 (Jinja2-2.5.tar.gz) = 2a2de83ab4ad00402e0ecf6aa877aed3a9549ca7
+RMD160 (Jinja2-2.5.tar.gz) = d84d82d5a9ddd5caa51b38492f37739e45d5f815
+Size (Jinja2-2.5.tar.gz) = 690695 bytes



Home | Main Index | Thread Index | Old Index