pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/itstool textproc/itstool: Declare python 2.7 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be37c555fbb0
branches:  trunk
changeset: 393964:be37c555fbb0
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Mar 31 00:32:39 2019 +0000

description:
textproc/itstool: Declare python 2.7 not acceptable

With python 2.7, itstool fails to process the cs translation as part
of the gnumeric112 build.  This appears to be about confusion between
ascii and utf-8 on stderr or something like that.  Because it appears
that few who might debug this are still using python 2.7, mark it
incompatible, which will cause the python3.7 version of itstool to be
built and used.

Proposed on pkgsrc-users without objection, and with no reports of the
2.7 version working.

diffstat:

 textproc/itstool/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 6cc91c1ee100 -r be37c555fbb0 textproc/itstool/Makefile
--- a/textproc/itstool/Makefile Sat Mar 30 06:34:55 2019 +0000
+++ b/textproc/itstool/Makefile Sun Mar 31 00:32:39 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2018/11/30 15:04:02 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2019/03/31 00:32:39 gdt Exp $
 
 DISTNAME=      itstool-2.0.5
+PKGREVISION=   1
 CATEGORIES=    textproc
 MASTER_SITES=  http://files.itstool.org/itstool/
 EXTRACT_SUFX=  .tar.bz2
@@ -12,6 +13,12 @@
 
 GNU_CONFIGURE= yes
 
+# With 27, gnumeric112 fails to build the cs translation with
+# ascii/utf-8 confusion.  This is not understood, so just avoid
+# python27, as it increasingly seems that no one is using it and
+# debugging problems with that version.
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 REPLACE_PYTHON=        ${WRKSRC}/itstool.in
 
 DEPENDS+=      ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2



Home | Main Index | Thread Index | Old Index