pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/u-boot Constrain to Python 2.7.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a8c5d4e4342
branches:  trunk
changeset: 377595:9a8c5d4e4342
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Mon Mar 19 20:49:01 2018 +0000

description:
Constrain to Python 2.7.

Python 3 is theoretically supported, but newer python versions remove the
cmpfunc type from their C APIs, which breaks the build.

diffstat:

 sysutils/u-boot/u-boot.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9ab3e173a522 -r 9a8c5d4e4342 sysutils/u-boot/u-boot.mk
--- a/sysutils/u-boot/u-boot.mk Mon Mar 19 18:02:22 2018 +0000
+++ b/sysutils/u-boot/u-boot.mk Mon Mar 19 20:49:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: u-boot.mk,v 1.7 2017/11/15 22:08:27 jmcneill Exp $
+# $NetBSD: u-boot.mk,v 1.8 2018/03/19 20:49:01 bsiegert Exp $
 
 UBOOT_VERSION?=        2017.11
 PKGNAME=       u-boot-${UBOOT_TARGET}-${UBOOT_VERSION}
@@ -20,6 +20,7 @@
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            gmake gsed pkg-config
 PYTHON_FOR_BUILD_ONLY= yes
+PYTHON_VERSIONS_ACCEPTED=      27
 
 REPLACE_INTERPRETER+=  python2
 REPLACE.python2.old=   .*/usr/bin/env.*python2*



Home | Main Index | Thread Index | Old Index