pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-jinja2 py-jinja2: updated to 2.11.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac9203cdfd90
branches:  trunk
changeset: 427251:ac9203cdfd90
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 14 12:10:03 2020 +0000

description:
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:

 textproc/py-jinja2/Makefile |   8 ++++----
 textproc/py-jinja2/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (43 lines):

diff -r ae44472ac0a2 -r ac9203cdfd90 textproc/py-jinja2/Makefile
--- a/textproc/py-jinja2/Makefile       Tue Apr 14 10:45:06 2020 +0000
+++ b/textproc/py-jinja2/Makefile       Tue Apr 14 12:10:03 2020 +0000
@@ -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@localhost
-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}-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 -r ae44472ac0a2 -r ac9203cdfd90 textproc/py-jinja2/distinfo
--- a/textproc/py-jinja2/distinfo       Tue Apr 14 10:45:06 2020 +0000
+++ b/textproc/py-jinja2/distinfo       Tue Apr 14 12:10:03 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index