Path to this page:
./
textproc/py-jinja2,
Small but fast and easy to use stand-alone template engine
Branch: CURRENT,
Version: 2.5,
Package name: py26-jinja2-2.5,
Maintainer: pkgsrc-usersJinja2 is a template engine written in pure Python. It provides a Django
inspired non-XML syntax but supports inline expressions and an optional
sandboxed environment.
Required to run:[
devel/py-setuptools] [
lang/python26]
Master sites:
SHA1: 2a2de83ab4ad00402e0ecf6aa877aed3a9549ca7
RMD160: d84d82d5a9ddd5caa51b38492f37739e45d5f815
Filesize: 674.507 KB
Version history: (Expand)
- (2010-06-06) Updated to version: py26-jinja2-2.5
- (2009-08-05) Package added to pkgsrc.se, version py25-jinja2-2.1.1 (created)
CVS history: (Expand)
2010-06-06 01:54:22 by Mark Davies | Files touched by this commit (3) |  |
Log message:
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.
|
2009-08-05 12:15:09 by Mark Davies | Files touched by this commit (4) |  |
Log message:
Initial import py-jinja2 2.1.1
Jinja2 is a template engine written in pure Python. It provides a Django
inspired non-XML syntax but supports inline expressions and an optional
sandboxed environment.
|