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.
This commit is contained in:
parent
33e104c5cd
commit
099b9dce17
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue