pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/scons scons: re-limit this to 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02438054fa18
branches:  trunk
changeset: 369772:02438054fa18
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Oct 04 13:13:59 2017 +0000

description:
scons: re-limit this to 2.7

builds with 3.6 have even more errors

diffstat:

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

diffs (20 lines):

diff -r bf79c4a8f200 -r 02438054fa18 devel/scons/Makefile
--- a/devel/scons/Makefile      Wed Oct 04 13:09:01 2017 +0000
+++ b/devel/scons/Makefile      Wed Oct 04 13:13:59 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2017/10/04 11:52:28 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2017/10/04 13:13:59 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