./textproc/py-jinja2, Small but fast and easy to use stand-alone template engine

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.9.6, Package name: py27-jinja2-2.9.6, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-setuptools] [lang/python27] [textproc/py-markupsafe]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 61b17399d098c0c110618fd4da7d33bd7031dd5e
RMD160: 395f1804017144ac858cda98bd7f3a9f7dc83d14
Filesize: 427.401 KB

Version history: (Expand)


CVS history: (Expand)


   2017-05-04 22:23:31 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
PLIST fix for Python < 3.6
   2017-05-04 21:53:41 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
Fix PLIST for Python 2.x
   2017-05-04 20:11:09 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Version 2.9.6
Fixed custom context behavior in fast resolve mode
   2016-12-15 11:46:08 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
Removed testsuite from SUBST, because it does not exist anymore
   2016-12-15 11:44:33 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Version 2.8
-----------
(codename Replacement, released on July 26th 2015)

- Added `target` parameter to urlize function.
- Added support for `followsymlinks` to the file system loader.
- The truncate filter now counts the length.
- Added equalto filter that helps with select filters.
- Changed cache keys to use absolute file names if available
  instead of load names.
- Fixed loop length calculation for some iterators.
- Changed how Jinja2 enforces strings to be native strings in
  Python 2 to work when people break their default encoding.
- Added :func:`make_logging_undefined` which returns an undefined
  object that logs failures into a logger.
- If unmarshalling of cached data fails the template will be
  reloaded now.
- Implemented a block ``set`` tag.
- Default cache size was incrased to 400 from a low 50.
- Fixed ``is number`` test to accept long integers in all Python versions.
- Changed ``is number`` to accept Decimal as a number.
- Added a check for default arguments followed by non-default arguments. This
  change makes ``{% macro m(x, y=1, z) %}...{% endmacro %}`` a syntax error. The
  previous behavior for this code was broken anyway (resulting in the default
  value being applied to `y`).
- Add ability to use custom subclasses of ``jinja2.compiler.CodeGenerator`` and
  ``jinja2.runtime.Context`` by adding two new attributes to the environment
  (`code_generator_class` and `context_class`) (pull request ``404``).
- added support for context/environment/evalctx decorator functions on
  the finalize callback of the environment.
- escape query strings for urlencode properly.  Previously slashes were not
  escaped in that place.
- Add 'base' parameter to 'int' filter.
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.
   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-08-13 22:07:56 by Guillaume Lasmayous | Files touched by this commit (1)
Log message:
Fix HOMEPAGE