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.10.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/111d66146c78
branches:  trunk
changeset: 322060:111d66146c78
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Apr 07 16:05:38 2019 +0000

description:
py-jinja2: updated to 2.10.1

Version 2.10.1
- SandboxedEnvironment securely handles str.format_map in
  order to prevent code execution through untrusted format strings.
  The sandbox already handled str.format.

diffstat:

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

diffs (48 lines):

diff -r 9c6dbdf8b0aa -r 111d66146c78 textproc/py-jinja2/Makefile
--- a/textproc/py-jinja2/Makefile       Sun Apr 07 16:02:01 2019 +0000
+++ b/textproc/py-jinja2/Makefile       Sun Apr 07 16:05:38 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2018/07/03 07:58:11 adam Exp $
+# $NetBSD: Makefile,v 1.25 2019/04/07 16:05:38 adam Exp $
 
-DISTNAME=      Jinja2-2.10
+DISTNAME=      Jinja2-2.10.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=J/Jinja2/}
@@ -12,6 +12,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
 
@@ -26,9 +27,11 @@
 # async byte-compilation fails for Python < 3.6
 # see https://github.com/pallets/jinja/issues/643
 PLIST_VARS+=   async
-.if "${PYPKGPREFIX}" == "py36" || "${PYPKGPREFIX}" == "py37"
+.if ${_PYTHON_VERSION} == 36 || ${_PYTHON_VERSION} == 37
 PLIST.async=   yes
 .endif
 
+PYSETUPTESTTARGET=     pytest
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9c6dbdf8b0aa -r 111d66146c78 textproc/py-jinja2/distinfo
--- a/textproc/py-jinja2/distinfo       Sun Apr 07 16:02:01 2019 +0000
+++ b/textproc/py-jinja2/distinfo       Sun Apr 07 16:05:38 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2017/11/09 07:52:17 adam Exp $
+$NetBSD: distinfo,v 1.14 2019/04/07 16:05:38 adam Exp $
 
-SHA1 (Jinja2-2.10.tar.gz) = 34b69e5caab12ee37b9df69df9018776c008b7b8
-RMD160 (Jinja2-2.10.tar.gz) = 552a79aaea2fa3e5b5211f89260fc8416cc28ce4
-SHA512 (Jinja2-2.10.tar.gz) = 0ea7371be67ffcf19e46dfd06523a45a0806e678a407d54f5f2f3e573982f0959cf82ec5d07b203670309928a62ef71109701ab16547a9bba2ebcdc178cb67f2
-Size (Jinja2-2.10.tar.gz) = 261631 bytes
+SHA1 (Jinja2-2.10.1.tar.gz) = 896a71a32336487edf1216d5d73dd3b26c4d7431
+RMD160 (Jinja2-2.10.1.tar.gz) = b42ccbddbc8dee38400f167169542260b33f6181
+SHA512 (Jinja2-2.10.1.tar.gz) = a00153a0e07bb7d67f301b4eaf7af657726a1985e9ffc7ae2d76bdbb4c062d672efc8065e398767e1039b18a483a0092e206deac91e4047aad64920b56869623
+Size (Jinja2-2.10.1.tar.gz) = 260956 bytes



Home | Main Index | Thread Index | Old Index