pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/scons



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Oct  3 22:21:10 UTC 2017

Modified Files:
        pkgsrc/devel/scons: Makefile

Log Message:
scons: restrict to python-2.x

While scons itself works fine with python-3.x, packages using it provide
SConstruct files, many of which only work with python-2.x since scons
for a long time did that too.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/scons/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/scons/Makefile
diff -u pkgsrc/devel/scons/Makefile:1.36 pkgsrc/devel/scons/Makefile:1.37
--- pkgsrc/devel/scons/Makefile:1.36    Tue Oct  3 11:53:52 2017
+++ pkgsrc/devel/scons/Makefile Tue Oct  3 22:21:10 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2017/10/03 11:53:52 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2017/10/03 22:21:10 wiz Exp $
 
 DISTNAME=      scons-3.0.0
 CATEGORIES=    devel
@@ -12,6 +12,10 @@ LICENSE=     mit
 REPLACE_PYTHON+=       script/scons script/scons-configure-cache
 REPLACE_PYTHON+=       script/scons-time script/sconsign
 
+# scons-3.0.0 works with python-3.x, but not the many packages
+# that have SConstruct files that only work with python-2.x
+PYTHON_VERSIONS_ACCEPTED=      27
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index