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: Thu May 4 20:23:31 UTC 2017
Modified Files:
pkgsrc/textproc/py-jinja2: Makefile PLIST
Log Message:
PLIST fix for Python < 3.6
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/py-jinja2/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-jinja2/PLIST
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.21 pkgsrc/textproc/py-jinja2/Makefile:1.22
--- pkgsrc/textproc/py-jinja2/Makefile:1.21 Thu May 4 18:11:09 2017
+++ pkgsrc/textproc/py-jinja2/Makefile Thu May 4 20:23:31 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2017/05/04 18:11:09 adam Exp $
+# $NetBSD: Makefile,v 1.22 2017/05/04 20:23:31 adam Exp $
DISTNAME= Jinja2-2.9.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -20,5 +20,14 @@ SUBST_STAGE.unicode= pre-install
SUBST_SED.unicode+= -e "s,u',',g"
SUBST_SED.unicode+= -e 's,u",",g'
+.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 "${PYPKGPREFIX}" == "py36"
+PLIST.async= yes
+.endif
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-jinja2/PLIST
diff -u pkgsrc/textproc/py-jinja2/PLIST:1.8 pkgsrc/textproc/py-jinja2/PLIST:1.9
--- pkgsrc/textproc/py-jinja2/PLIST:1.8 Thu May 4 19:53:41 2017
+++ pkgsrc/textproc/py-jinja2/PLIST Thu May 4 20:23:31 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2017/05/04 19:53:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2017/05/04 20:23:31 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -16,11 +16,11 @@ ${PYSITELIB}/jinja2/_stringdefs.py
${PYSITELIB}/jinja2/_stringdefs.pyc
${PYSITELIB}/jinja2/_stringdefs.pyo
${PYSITELIB}/jinja2/asyncfilters.py
-${PLIST.py3x}${PYSITELIB}/jinja2/asyncfilters.pyc
-${PLIST.py3x}${PYSITELIB}/jinja2/asyncfilters.pyo
+${PLIST.async}${PYSITELIB}/jinja2/asyncfilters.pyc
+${PLIST.async}${PYSITELIB}/jinja2/asyncfilters.pyo
${PYSITELIB}/jinja2/asyncsupport.py
-${PLIST.py3x}${PYSITELIB}/jinja2/asyncsupport.pyc
-${PLIST.py3x}${PYSITELIB}/jinja2/asyncsupport.pyo
+${PLIST.async}${PYSITELIB}/jinja2/asyncsupport.pyc
+${PLIST.async}${PYSITELIB}/jinja2/asyncsupport.pyo
${PYSITELIB}/jinja2/bccache.py
${PYSITELIB}/jinja2/bccache.pyc
${PYSITELIB}/jinja2/bccache.pyo
Home |
Main Index |
Thread Index |
Old Index