pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/itstool



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Mar 31 00:32:39 UTC 2019

Modified Files:
        pkgsrc/textproc/itstool: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/itstool/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/itstool/Makefile
diff -u pkgsrc/textproc/itstool/Makefile:1.16 pkgsrc/textproc/itstool/Makefile:1.17
--- pkgsrc/textproc/itstool/Makefile:1.16       Fri Nov 30 15:04:02 2018
+++ pkgsrc/textproc/itstool/Makefile    Sun Mar 31 00:32:39 2019
@@ -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 @@ LICENSE=     gnu-gpl-v3
 
 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