pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-jinja2 Mark textproc/py-jinja2 as incompat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be5aecb4dcb6
branches:  trunk
changeset: 377293:be5aecb4dcb6
user:      js <js%pkgsrc.org@localhost>
date:      Mon Apr 18 21:36:15 2022 +0000

description:
Mark textproc/py-jinja2 as incompatible with Python 2.7

diffstat:

 textproc/py-jinja2/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 5a14c26c6ca2 -r be5aecb4dcb6 textproc/py-jinja2/Makefile
--- a/textproc/py-jinja2/Makefile       Mon Apr 18 20:18:45 2022 +0000
+++ b/textproc/py-jinja2/Makefile       Mon Apr 18 21:36:15 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2022/04/18 13:37:46 js Exp $
+# $NetBSD: Makefile,v 1.34 2022/04/18 21:36:15 js Exp $
 
 DISTNAME=      Jinja2-3.1.1
-PKGREVISION=   1
+PKGREVISION=   2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=J/Jinja2/}
@@ -17,14 +17,13 @@
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/pyversion.mk"
 
 # async byte-compilation fails for Python < 3.6
 # see https://github.com/pallets/jinja/issues/643
 PLIST_VARS+=   async
-.if ${_PYTHON_VERSION} != 27
-PLIST.async=   yes
-.endif
 
 PYSETUPTESTTARGET=     pytest
 



Home | Main Index | Thread Index | Old Index