pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ctemplate



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat May  4 15:29:50 UTC 2019

Modified Files:
        pkgsrc/devel/ctemplate: Makefile

Log Message:
devel/ctemplate: restrict to Python 2.7


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/ctemplate/Makefile

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

Modified files:

Index: pkgsrc/devel/ctemplate/Makefile
diff -u pkgsrc/devel/ctemplate/Makefile:1.14 pkgsrc/devel/ctemplate/Makefile:1.15
--- pkgsrc/devel/ctemplate/Makefile:1.14        Thu Apr 25 07:32:44 2019
+++ pkgsrc/devel/ctemplate/Makefile     Sat May  4 15:29:50 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2019/04/25 07:32:44 maya Exp $
+# $NetBSD: Makefile,v 1.15 2019/05/04 15:29:50 rillig Exp $
 
 DISTNAME=      ctemplate-2.3
 PKGREVISION=   4
@@ -22,6 +22,12 @@ PKGCONFIG_OVERRIDE_STAGE=post-build
 REPLACE_PERL=          src/template-converter
 REPLACE_PYTHON=                src/htmlparser/generate_fsm.py
 
+# In Python 3.x, print is a function, not a statement:
+#      print '\n'.join(...)
+# SyntaxError: invalid syntax
+# https://github.com/OlafvdSpek/ctemplate/issues/137
+PYTHON_VERSIONS_ACCEPTED=      27
+
 .include "../../lang/python/application.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index