pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-jinja2



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Apr  7 16:05:38 UTC 2019

Modified Files:
        pkgsrc/textproc/py-jinja2: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/textproc/py-jinja2/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/py-jinja2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-jinja2/Makefile
diff -u pkgsrc/textproc/py-jinja2/Makefile:1.24 pkgsrc/textproc/py-jinja2/Makefile:1.25
--- pkgsrc/textproc/py-jinja2/Makefile:1.24     Tue Jul  3 07:58:11 2018
+++ pkgsrc/textproc/py-jinja2/Makefile  Sun Apr  7 16:05:38 2019
@@ -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 @@ LICENSE=      modified-bsd
 
 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 @@ SUBST_SED.unicode+=  -e 's,u",",g'
 # 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"

Index: pkgsrc/textproc/py-jinja2/distinfo
diff -u pkgsrc/textproc/py-jinja2/distinfo:1.13 pkgsrc/textproc/py-jinja2/distinfo:1.14
--- pkgsrc/textproc/py-jinja2/distinfo:1.13     Thu Nov  9 07:52:17 2017
+++ pkgsrc/textproc/py-jinja2/distinfo  Sun Apr  7 16:05:38 2019
@@ -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