diff options
author | kleink <kleink> | 2013-05-21 19:51:22 +0000 |
---|---|---|
committer | kleink <kleink> | 2013-05-21 19:51:22 +0000 |
commit | c8b83af924b4b1eb9ca392a7a33e8b8f9ffb3108 (patch) | |
tree | c3dbca94abb4fb5d4438b1bbbad03e949563f079 | |
parent | e9d818b0509537925882e1518af428f18954f2a9 (diff) | |
download | pkgsrc-c8b83af924b4b1eb9ca392a7a33e8b8f9ffb3108.tar.gz |
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.
-rw-r--r-- | textproc/py-jinja2/Makefile | 7 | ||||
-rw-r--r-- | textproc/py-jinja2/PLIST | 21 | ||||
-rw-r--r-- | textproc/py-jinja2/distinfo | 8 |
3 files changed, 13 insertions, 23 deletions
diff --git a/textproc/py-jinja2/Makefile b/textproc/py-jinja2/Makefile index 75a207aa5ed..0f11e309230 100644 --- a/textproc/py-jinja2/Makefile +++ b/textproc/py-jinja2/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2012/10/25 06:56:50 asau Exp $ +# $NetBSD: Makefile,v 1.8 2013/05/21 19:51:22 kleink Exp $ -DISTNAME= Jinja2-2.6 +DISTNAME= Jinja2-2.7 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= textproc python MASTER_SITES= http://pypi.python.org/packages/source/J/Jinja2/ @@ -13,6 +13,9 @@ LICENSE= modified-bsd USE_LANGUAGES= #none PYTHON_VERSIONS_INCLUDE_3X= yes +PYTHON_VERSIONS_INCOMPATIBLE= 31 32 + +DEPENDS+= ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-jinja2/PLIST b/textproc/py-jinja2/PLIST index 1509865788e..bcad6d8f405 100644 --- a/textproc/py-jinja2/PLIST +++ b/textproc/py-jinja2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2011/03/23 11:38:31 adam Exp $ +@comment $NetBSD: PLIST,v 1.4 2013/05/21 19:51:22 kleink Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -9,22 +9,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/jinja2/__init__.py ${PYSITELIB}/jinja2/__init__.pyc ${PYSITELIB}/jinja2/__init__.pyo -${PYSITELIB}/jinja2/_debugsupport.c -${PYSITELIB}/jinja2/_markupsafe/__init__.py -${PYSITELIB}/jinja2/_markupsafe/__init__.pyc -${PYSITELIB}/jinja2/_markupsafe/__init__.pyo -${PYSITELIB}/jinja2/_markupsafe/_bundle.py -${PYSITELIB}/jinja2/_markupsafe/_bundle.pyc -${PYSITELIB}/jinja2/_markupsafe/_bundle.pyo -${PYSITELIB}/jinja2/_markupsafe/_constants.py -${PYSITELIB}/jinja2/_markupsafe/_constants.pyc -${PYSITELIB}/jinja2/_markupsafe/_constants.pyo -${PYSITELIB}/jinja2/_markupsafe/_native.py -${PYSITELIB}/jinja2/_markupsafe/_native.pyc -${PYSITELIB}/jinja2/_markupsafe/_native.pyo -${PYSITELIB}/jinja2/_markupsafe/tests.py -${PYSITELIB}/jinja2/_markupsafe/tests.pyc -${PYSITELIB}/jinja2/_markupsafe/tests.pyo +${PYSITELIB}/jinja2/_compat.py +${PYSITELIB}/jinja2/_compat.pyc +${PYSITELIB}/jinja2/_compat.pyo ${PYSITELIB}/jinja2/_stringdefs.py ${PYSITELIB}/jinja2/_stringdefs.pyc ${PYSITELIB}/jinja2/_stringdefs.pyo diff --git a/textproc/py-jinja2/distinfo b/textproc/py-jinja2/distinfo index c2cd1fc8844..c7bd0ee8154 100644 --- a/textproc/py-jinja2/distinfo +++ b/textproc/py-jinja2/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2011/09/05 10:54:32 adam Exp $ +$NetBSD: distinfo,v 1.5 2013/05/21 19:51:22 kleink Exp $ -SHA1 (Jinja2-2.6.tar.gz) = f122aeb324b2009bbcee341d0f001a047ac4bbe5 -RMD160 (Jinja2-2.6.tar.gz) = 77829eabfc71dd6cf7eece1fe5d0b96b21de3b18 -Size (Jinja2-2.6.tar.gz) = 389741 bytes +SHA1 (Jinja2-2.7.tar.gz) = fe11167f17292a02e031efa8ad436bcb4ea9425e +RMD160 (Jinja2-2.7.tar.gz) = bf0cf714fcd5dc03e15f1102552bd64eaf2f2895 +Size (Jinja2-2.7.tar.gz) = 377603 bytes |