diff options
author | adam <adam@pkgsrc.org> | 2020-04-14 12:10:03 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-04-14 12:10:03 +0000 |
commit | 32846f68e255fd0934f92e1a7015bfcb393ed540 (patch) | |
tree | a6865e4fc2b9783c116054456d9698764c50208c /textproc | |
parent | 7a899318389db83dd2104fc21c84af4310aac8bb (diff) | |
download | pkgsrc-32846f68e255fd0934f92e1a7015bfcb393ed540.tar.gz |
py-jinja2: updated to 2.11.2
Version 2.11.2
Fix a bug that caused callable objects with __getattr__, like Mock to be treated as a contextfunction().
Update wordcount filter to trigger Undefined methods by wrapping the input in soft_unicode().
Fix a hang when displaying tracebacks on Python 32-bit.
Showing an undefined error for an object that raises AttributeError on access doesn’t cause a recursion error.
Revert changes to PackageLoader from 2.10 which removed the dependency on setuptools and pkg_resources, and added limited support for namespace packages. The changes caused issues when using Pytest. Due to the difficulty in supporting Python 2 and PEP 451 simultaneously, the changes are reverted until 3.0.
Fix line numbers in error messages when newlines are stripped.
The special namespace() assignment object in templates works in async environments.
Fix whitespace being removed before tags in the middle of lines when lstrip_blocks is enabled.
NativeEnvironment doesn’t evaluate intermediate strings during rendering. This prevents early evaluation which could change the value of an expression.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-jinja2/Makefile | 8 | ||||
-rw-r--r-- | textproc/py-jinja2/distinfo | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/textproc/py-jinja2/Makefile b/textproc/py-jinja2/Makefile index 0347338433d..d914fdb4f76 100644 --- a/textproc/py-jinja2/Makefile +++ b/textproc/py-jinja2/Makefile @@ -1,12 +1,12 @@ -# $NetBSD: Makefile,v 1.28 2020/03/22 22:42:13 rillig Exp $ +# $NetBSD: Makefile,v 1.29 2020/04/14 12:10:03 adam Exp $ -DISTNAME= Jinja2-2.11.1 +DISTNAME= Jinja2-2.11.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=J/Jinja2/} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://jinja.pocoo.org/ +HOMEPAGE= https://jinja.palletsprojects.com/ COMMENT= Small but fast and easy to use stand-alone template engine LICENSE= modified-bsd @@ -14,7 +14,7 @@ DEPENDS+= ${PYPKGPREFIX}-babel>=0.8:../../devel/py-babel DEPENDS+= ${PYPKGPREFIX}-markupsafe>=0.23:../../textproc/py-markupsafe TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner -USE_LANGUAGES= # none +USE_LANGUAGES= # none .include "../../lang/python/pyversion.mk" diff --git a/textproc/py-jinja2/distinfo b/textproc/py-jinja2/distinfo index 3e5da5dbf06..fb335572681 100644 --- a/textproc/py-jinja2/distinfo +++ b/textproc/py-jinja2/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.16 2020/02/01 20:31:28 adam Exp $ +$NetBSD: distinfo,v 1.17 2020/04/14 12:10:03 adam Exp $ -SHA1 (Jinja2-2.11.1.tar.gz) = b91c60ab27866be173aa836dacf52b2292f9f777 -RMD160 (Jinja2-2.11.1.tar.gz) = 71a7a6b85b2bc5d233885027d4584fa94807be82 -SHA512 (Jinja2-2.11.1.tar.gz) = a9b7c1c0151f3b1a0764dc36f489104f30cc84f61d81cf018d7a5e9b5390ad07eb27d3d3d497812ea4130ddbd9142060117947c3283b1a646ce196709183ada6 -Size (Jinja2-2.11.1.tar.gz) = 258043 bytes +SHA1 (Jinja2-2.11.2.tar.gz) = 1017138fd4cb627204d3109b75c107c3d6f3f7fb +RMD160 (Jinja2-2.11.2.tar.gz) = b0ef9fa98df528591db62542ee7ded5b87b69480 +SHA512 (Jinja2-2.11.2.tar.gz) = baf62118702a7e113e6a22d9af58a5fa66af8017ded08f18705107a4cb93c9727c7fa118436aadfe0729d7f496241ca7bcce27863c5b19deaee3852eda68c082 +Size (Jinja2-2.11.2.tar.gz) = 257594 bytes |