pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/scons scons: restrict to python-2.x



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1cb45dabf27d
branches:  trunk
changeset: 369745:1cb45dabf27d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Oct 03 22:21:10 2017 +0000

description:
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.

diffstat:

 devel/scons/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 1abbce6a32dc -r 1cb45dabf27d devel/scons/Makefile
--- a/devel/scons/Makefile      Tue Oct 03 19:50:23 2017 +0000
+++ b/devel/scons/Makefile      Tue Oct 03 22:21:10 2017 +0000
@@ -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 @@
 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