Update py-jinja2 to 2.7. Version 2.7 ----------- (codename Translation, released on May 20th 2013) - Choice and prefix loaders now dispatch source and template lookup separately in order to work in combination with module loaders as advertised. - Fixed filesizeformat. - Added a non-silent option for babel extraction. - Added `urlencode` filter that automatically quotes values for URL safe usage with utf-8 as only supported encoding. If applications want to change this encoding they can override the filter. - Added `keep-trailing-newline` configuration to environments and templates to optionally preserve the final trailing newline. - Accessing `last` on the loop context no longer causes the iterator to be consumed into a list. - Python requirement changed: 2.6, 2.7 or >= 3.3 are required now, supported by same source code, using the "six" compatibility library. - Allow `contextfunction` and other decorators to be applied to `__call__`. - Added support for changing from newline to different signs in the `wordwrap` filter. - Added support for ignoring memcache errors silently. - Added support for keeping the trailing newline in templates. - Added finer grained support for stripping whitespace on the left side of blocks. - Added `map`, `select`, `reject`, `selectattr` and `rejectattr` filters. - Added support for `loop.depth` to figure out how deep inside a recursive loop the code is. - Disabled py_compile for pypy and python 3.diff -r1.7 -r1.8 pkgsrc/textproc/py-jinja2/Makefile
(kleink)
@@ -1,18 +1,21 @@ | @@ -1,18 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2012/10/25 06:56:50 asau Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2013/05/21 19:51:22 kleink Exp $ | |
2 | 2 | |||
3 | DISTNAME= Jinja2-2.6 | 3 | DISTNAME= Jinja2-2.7 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | |
5 | CATEGORIES= textproc python | 5 | CATEGORIES= textproc python | |
6 | MASTER_SITES= http://pypi.python.org/packages/source/J/Jinja2/ | 6 | MASTER_SITES= http://pypi.python.org/packages/source/J/Jinja2/ | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://jinja.pocoo.org/2/ | 9 | HOMEPAGE= http://jinja.pocoo.org/2/ | |
10 | COMMENT= Small but fast and easy to use stand-alone template engine | 10 | COMMENT= Small but fast and easy to use stand-alone template engine | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | USE_LANGUAGES= #none | 13 | USE_LANGUAGES= #none | |
14 | 14 | |||
15 | PYTHON_VERSIONS_INCLUDE_3X= yes | 15 | PYTHON_VERSIONS_INCLUDE_3X= yes | |
16 | PYTHON_VERSIONS_INCOMPATIBLE= 31 32 | |||
17 | ||||
18 | DEPENDS+= ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe | |||
16 | 19 | |||
17 | .include "../../lang/python/egg.mk" | 20 | .include "../../lang/python/egg.mk" | |
18 | .include "../../mk/bsd.pkg.mk" | 21 | .include "../../mk/bsd.pkg.mk" |
@@ -1,40 +1,27 @@ | @@ -1,40 +1,27 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2011/03/23 11:38:31 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2013/05/21 19:51:22 kleink 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/_debugsupport.c | 12 | ${PYSITELIB}/jinja2/_compat.py | |
13 | ${PYSITELIB}/jinja2/_markupsafe/__init__.py | 13 | ${PYSITELIB}/jinja2/_compat.pyc | |
14 | ${PYSITELIB}/jinja2/_markupsafe/__init__.pyc | 14 | ${PYSITELIB}/jinja2/_compat.pyo | |
15 | ${PYSITELIB}/jinja2/_markupsafe/__init__.pyo | |||
16 | ${PYSITELIB}/jinja2/_markupsafe/_bundle.py | |||
17 | ${PYSITELIB}/jinja2/_markupsafe/_bundle.pyc | |||
18 | ${PYSITELIB}/jinja2/_markupsafe/_bundle.pyo | |||
19 | ${PYSITELIB}/jinja2/_markupsafe/_constants.py | |||
20 | ${PYSITELIB}/jinja2/_markupsafe/_constants.pyc | |||
21 | ${PYSITELIB}/jinja2/_markupsafe/_constants.pyo | |||
22 | ${PYSITELIB}/jinja2/_markupsafe/_native.py | |||
23 | ${PYSITELIB}/jinja2/_markupsafe/_native.pyc | |||
24 | ${PYSITELIB}/jinja2/_markupsafe/_native.pyo | |||
25 | ${PYSITELIB}/jinja2/_markupsafe/tests.py | |||
26 | ${PYSITELIB}/jinja2/_markupsafe/tests.pyc | |||
27 | ${PYSITELIB}/jinja2/_markupsafe/tests.pyo | |||
28 | ${PYSITELIB}/jinja2/_stringdefs.py | 15 | ${PYSITELIB}/jinja2/_stringdefs.py | |
29 | ${PYSITELIB}/jinja2/_stringdefs.pyc | 16 | ${PYSITELIB}/jinja2/_stringdefs.pyc | |
30 | ${PYSITELIB}/jinja2/_stringdefs.pyo | 17 | ${PYSITELIB}/jinja2/_stringdefs.pyo | |
31 | ${PYSITELIB}/jinja2/bccache.py | 18 | ${PYSITELIB}/jinja2/bccache.py | |
32 | ${PYSITELIB}/jinja2/bccache.pyc | 19 | ${PYSITELIB}/jinja2/bccache.pyc | |
33 | ${PYSITELIB}/jinja2/bccache.pyo | 20 | ${PYSITELIB}/jinja2/bccache.pyo | |
34 | ${PYSITELIB}/jinja2/compiler.py | 21 | ${PYSITELIB}/jinja2/compiler.py | |
35 | ${PYSITELIB}/jinja2/compiler.pyc | 22 | ${PYSITELIB}/jinja2/compiler.pyc | |
36 | ${PYSITELIB}/jinja2/compiler.pyo | 23 | ${PYSITELIB}/jinja2/compiler.pyo | |
37 | ${PYSITELIB}/jinja2/constants.py | 24 | ${PYSITELIB}/jinja2/constants.py | |
38 | ${PYSITELIB}/jinja2/constants.pyc | 25 | ${PYSITELIB}/jinja2/constants.pyc | |
39 | ${PYSITELIB}/jinja2/constants.pyo | 26 | ${PYSITELIB}/jinja2/constants.pyo | |
40 | ${PYSITELIB}/jinja2/debug.py | 27 | ${PYSITELIB}/jinja2/debug.py |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2011/09/05 10:54:32 adam Exp $ | 1 | $NetBSD: distinfo,v 1.5 2013/05/21 19:51:22 kleink Exp $ | |
2 | 2 | |||
3 | SHA1 (Jinja2-2.6.tar.gz) = f122aeb324b2009bbcee341d0f001a047ac4bbe5 | 3 | SHA1 (Jinja2-2.7.tar.gz) = fe11167f17292a02e031efa8ad436bcb4ea9425e | |
4 | RMD160 (Jinja2-2.6.tar.gz) = 77829eabfc71dd6cf7eece1fe5d0b96b21de3b18 | 4 | RMD160 (Jinja2-2.7.tar.gz) = bf0cf714fcd5dc03e15f1102552bd64eaf2f2895 | |
5 | Size (Jinja2-2.6.tar.gz) = 389741 bytes | 5 | Size (Jinja2-2.7.tar.gz) = 377603 bytes |