head 1.26; access; symbols pkgsrc-2023Q4:1.25.0.2 pkgsrc-2023Q4-base:1.25 pkgsrc-2023Q3:1.24.0.2 pkgsrc-2023Q3-base:1.24 pkgsrc-2023Q2:1.23.0.4 pkgsrc-2023Q2-base:1.23 pkgsrc-2023Q1:1.23.0.2 pkgsrc-2023Q1-base:1.23 pkgsrc-2022Q4:1.22.0.4 pkgsrc-2022Q4-base:1.22 pkgsrc-2022Q3:1.22.0.2 pkgsrc-2022Q3-base:1.22 pkgsrc-2022Q2:1.21.0.6 pkgsrc-2022Q2-base:1.21 pkgsrc-2022Q1:1.21.0.4 pkgsrc-2022Q1-base:1.21 pkgsrc-2021Q4:1.21.0.2 pkgsrc-2021Q4-base:1.21 pkgsrc-2021Q3:1.20.0.8 pkgsrc-2021Q3-base:1.20 pkgsrc-2021Q2:1.20.0.6 pkgsrc-2021Q2-base:1.20 pkgsrc-2021Q1:1.20.0.4 pkgsrc-2021Q1-base:1.20 pkgsrc-2020Q4:1.20.0.2 pkgsrc-2020Q4-base:1.20 pkgsrc-2020Q3:1.19.0.12 pkgsrc-2020Q3-base:1.19 pkgsrc-2020Q2:1.19.0.10 pkgsrc-2020Q2-base:1.19 pkgsrc-2020Q1:1.19.0.6 pkgsrc-2020Q1-base:1.19 pkgsrc-2019Q4:1.19.0.8 pkgsrc-2019Q4-base:1.19 pkgsrc-2019Q3:1.19.0.4 pkgsrc-2019Q3-base:1.19 pkgsrc-2019Q2:1.19.0.2 pkgsrc-2019Q2-base:1.19 pkgsrc-2019Q1:1.17.0.2 pkgsrc-2019Q1-base:1.17 pkgsrc-2018Q4:1.16.0.2 pkgsrc-2018Q4-base:1.16 pkgsrc-2018Q3:1.15.0.8 pkgsrc-2018Q3-base:1.15 pkgsrc-2018Q2:1.15.0.6 pkgsrc-2018Q2-base:1.15 pkgsrc-2018Q1:1.15.0.4 pkgsrc-2018Q1-base:1.15 pkgsrc-2017Q4:1.15.0.2 pkgsrc-2017Q4-base:1.15 pkgsrc-2017Q3:1.13.0.8 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.4 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.2 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.12.0.4 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.2 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.11.0.6 pkgsrc-2016Q2-base:1.11 pkgsrc-2016Q1:1.11.0.4 pkgsrc-2016Q1-base:1.11 pkgsrc-2015Q4:1.11.0.2 pkgsrc-2015Q4-base:1.11 pkgsrc-2015Q3:1.10.0.12 pkgsrc-2015Q3-base:1.10 pkgsrc-2015Q2:1.10.0.10 pkgsrc-2015Q2-base:1.10 pkgsrc-2015Q1:1.10.0.8 pkgsrc-2015Q1-base:1.10 pkgsrc-2014Q4:1.10.0.6 pkgsrc-2014Q4-base:1.10 pkgsrc-2014Q3:1.10.0.4 pkgsrc-2014Q3-base:1.10 pkgsrc-2014Q2:1.10.0.2 pkgsrc-2014Q2-base:1.10 pkgsrc-2014Q1:1.9.0.2 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.7.0.2 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.4.0.8 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.6 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.4 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.2.0.6 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.4 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.2 pkgsrc-2012Q1-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.26 date 2024.01.02.06.17.15; author ryoon; state Exp; branches; next 1.25; commitid kj4GlmIoR8Zb5QSE; 1.25 date 2023.12.18.22.49.15; author thor; state Exp; branches; next 1.24; commitid vqvTuFdfep0v30RE; 1.24 date 2023.08.14.05.25.23; author wiz; state Exp; branches; next 1.23; commitid LOSB79OLVxvXjIAE; 1.23 date 2023.01.26.01.51.20; author gutteridge; state Exp; branches; next 1.22; commitid jVBJ0mpUb0UzzZaE; 1.22 date 2022.06.30.11.18.54; author nia; state Exp; branches; next 1.21; commitid AhctUV91Vubws3KD; 1.21 date 2021.10.08.09.46.08; author prlw1; state Exp; branches; next 1.20; commitid yWuuPdD2DLB7tZbD; 1.20 date 2020.12.04.20.45.45; author nia; state Exp; branches; next 1.19; commitid FPz71MqRX3WN0tyC; 1.19 date 2019.04.25.07.33.24; author maya; state Exp; branches; next 1.18; commitid 1FEMQBEPb9uTxHkB; 1.18 date 2019.04.07.21.37.51; author wiz; state Exp; branches; next 1.17; commitid XK7UsXXv3ShZOsiB; 1.17 date 2019.03.31.00.32.39; author gdt; state Exp; branches; next 1.16; commitid T5BzC7ojFmcU2shB; 1.16 date 2018.11.30.15.04.02; author wiz; state Exp; branches; next 1.15; commitid p1MNgfRoox5XKY1B; 1.15 date 2017.12.15.09.14.52; author jperkin; state Exp; branches; next 1.14; commitid G2pHmN64NAgu4YiA; 1.14 date 2017.11.06.18.28.22; author prlw1; state Exp; branches; next 1.13; commitid BSSvUeJHqZZ9o0eA; 1.13 date 2017.01.01.14.43.59; author wiz; state Exp; branches; next 1.12; commitid TmfhF2MIYbgU4hAz; 1.12 date 2016.07.09.13.04.09; author wiz; state Exp; branches; next 1.11; commitid k9A2yv7vTRunbEdz; 1.11 date 2015.12.05.21.26.01; author adam; state Exp; branches; next 1.10; commitid bgA0CynThkP3WNLy; 1.10 date 2014.05.09.07.37.21; author wiz; state Exp; branches; next 1.9; commitid wfzXpL2biguCPPzx; 1.9 date 2014.01.25.10.30.23; author wiz; state Exp; branches; next 1.8; commitid VOWgk3vYhVXj8umx; 1.8 date 2013.12.31.17.50.23; author wiz; state Exp; branches; next 1.7; commitid RKHzOAqqcEBinjjx; 1.7 date 2013.12.12.12.45.44; author jperkin; state Exp; branches; next 1.6; commitid mhF95pxlA30UhQgx; 1.6 date 2013.11.26.13.53.11; author wiz; state Exp; branches; next 1.5; commitid Bj4TGGaFrdaGbNex; 1.5 date 2013.11.03.16.10.09; author wiz; state Exp; branches; next 1.4; commitid WvaUvN5l5dgrGQbx; 1.4 date 2012.10.29.12.41.00; author prlw1; state Exp; branches; next 1.3; 1.3 date 2012.10.25.06.56.00; author asau; state Exp; branches; next 1.2; 1.2 date 2012.03.10.10.56.15; author obache; state Exp; branches; next 1.1; 1.1 date 2012.02.10.17.55.15; author drochner; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2012.02.10.17.55.15; author drochner; state Exp; branches; next ; desc @@ 1.26 log @itstool: Fix runtime warnings with Python 3.12 @ text @# $NetBSD: Makefile,v 1.25 2023/12/18 22:49:15 thor Exp $ DISTNAME= itstool-2.0.7 PKGREVISION= 5 CATEGORIES= textproc MASTER_SITES= http://files.itstool.org/itstool/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= prlw1@@cam.ac.uk HOMEPAGE= http://itstool.org/ COMMENT= ITS Tool allows you to translate XML documents with PO files 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 DEPENDS+= ${PYPKGPREFIX}-libxml2>=2.10.4nb4:../../textproc/py-libxml2 .include "../../lang/python/application.mk" .include "../../lang/python/tool.mk" .include "../../mk/bsd.pkg.mk" @ 1.25 log @textproc/itstool: depend on py-libxml2 with the re-added symbols to un-break @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2023/08/14 05:25:23 wiz Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.24 log @*: recursive bump for Python 3.11 as new default @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2023/01/26 01:51:20 gutteridge Exp $ d4 1 a4 1 PKGREVISION= 3 d22 1 a22 1 DEPENDS+= ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2 @ 1.23 log @itstool: rev-bump after fix to libxml2 that was causing segfaults @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2022/06/30 11:18:54 nia Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.22 log @*: Revbump packages that use Python at runtime without a PKGNAME prefix @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2021/10/08 09:46:08 prlw1 Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.21 log @Update itstool to 2.0.7 2.0.7 ===== * Performance improvements when chaining up on certain ITS rules * Performance improvements when using ITS params. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2020/12/04 20:45:45 nia Exp $ d4 1 @ 1.20 log @Revbump packages with a runtime Python dep but no version prefix. For the Python 3.8 default switch. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2019/04/25 07:33:24 maya Exp $ d3 1 a3 2 DISTNAME= itstool-2.0.6 PKGREVISION= 2 a20 2 REPLACE_PYTHON= ${WRKSRC}/itstool.in @ 1.19 log @PKGREVISION bump for anything using python without a PYPKGPREFIX. This is a semi-manual PKGREVISION bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2019/04/07 21:37:51 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.18 log @itstool: update to 2.0.6. 2.0.6 ===== * Make DocBook keyword element within text * Apply ITS files passed with -i in --join mode @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2019/03/31 00:32:39 gdt Exp $ d4 1 @ 1.17 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2018/11/30 15:04:02 wiz Exp $ d3 1 a3 2 DISTNAME= itstool-2.0.5 PKGREVISION= 1 @ 1.16 log @itstool: update to 2.0.5. 2.0.5 ===== * Allow preserveSpace on XML attributes (Álvaro Muñoz) * Fixed issue with writing files under macOS (Álvaro Muñoz) * Fixed various differences between Python 2 and 3 * Fixed issues with libxml2 memory management @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2017/12/15 09:14:52 jperkin Exp $ d4 1 d16 6 @ 1.15 log @itstool: Apply upstream fix for itstool/itstool#17. Fixes segfaults breaking various dependencies. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2017/11/06 18:28:22 prlw1 Exp $ d3 1 a3 2 DISTNAME= itstool-2.0.4 PKGREVISION= 1 @ 1.14 log @Update itstool to 2.0.4 2.0.4 ===== * Fixed a massive performance issue 2.0.3 ===== * Added Python 3 support. Keeping Python 2 support for now. (Virgil Dupras) * Fixed --keep-entities mode after some libxml2 changes. * Added --path option for extra paths for ITS files. * Don't error out (except under -s) for mismatched placeholders. * Fixed UTF-8 handling for translated attributes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2017/01/01 14:43:59 wiz Exp $ d4 1 @ 1.13 log @Add python-3.6 to incompatible versions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2016/07/09 13:04:09 wiz Exp $ d3 1 a3 1 DISTNAME= itstool-2.0.2 a18 10 PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 2.0.2 #Traceback (most recent call last): # File "/usr/pkg/bin/itstool", line 1516, in # doc.apply_its_rules(not(opts.nobuiltins), params=params) # File "/usr/pkg/bin/itstool", line 724, in apply_its_rules # self.apply_its_file(os.path.join(itsdir, dfile), params=params) # File "/usr/pkg/bin/itstool", line 754, in apply_its_file # if not nss.has_key(nsdef.name): #AttributeError: 'dict' object has no attribute 'has_key' @ 1.12 log @Remove python33: adapt all packages that refer to it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2015/12/05 21:26:01 adam Exp $ d19 1 a19 1 PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # not yet ported as of 2.0.2 @ 1.11 log @Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2014/05/09 07:37:21 wiz Exp $ d19 1 a19 1 PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # not yet ported as of 2.0.2 @ 1.10 log @Mark packages that are not ready for python-3.3 also not ready for 3.4, until proven otherwise. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2014/01/25 10:30:23 wiz Exp $ d19 1 a19 1 PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.0.2 @ 1.9 log @Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2013/12/31 17:50:23 wiz Exp $ d19 1 a19 1 PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.0.2 @ 1.8 log @Update to 2.0.2: 2.0.2 ===== * Fixed crash in locale filter and drop rule, #715116 * Don't hardcode python path, #72533 (Ryan Lortie) * Updated man page @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2013/12/12 12:45:44 jperkin Exp $ d19 10 @ 1.7 log @Package needs lang/python/tool.mk for calls to 'python' in configure. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2013/11/26 13:53:11 wiz Exp $ d3 1 a3 1 DISTNAME= itstool-2.0.1 @ 1.6 log @Update to 2.0.1: 2.0.1 ===== * Reworked default ITS rules for better performance @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2013/11/03 16:10:09 wiz Exp $ d20 1 @ 1.5 log @Update to 2.0.0: 2.0.0 ===== * Support for ITS 2.0 Preserve Space data category * Support for ITS 2.0 Locale Filter data category * Support for ITS 2.0 External Resource data category * Support for ITS 2.0 ID Value data category * Support for ITS 2.0 parameters, including user overrides * Support for ITS 2.0 local withinText attribute * Fixed handling of localization note inheritance * Fixed handling of namespace prefixes on elements * Added option to retain entity references in PO files * Added option to load external DTDs (Galen Charlton) * Added built-in rules for DocBook 5 * Updated built-in rules to use ITS 2.0 Preserve Space and External Resource instead of 1.x custom extensions * Excluded editor remarks and comments in built-in DocBook and Mallard rules with Locale Filter * Made all DocBook *info children not within text in built-in rules @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2012/10/29 12:41:00 prlw1 Exp $ d3 1 a3 1 DISTNAME= itstool-2.0.0 @ 1.4 log @Update itstool to 1.2.0 * Added new "join mode" for multilingual XML formats * Correctly handle ITS version attribute * Better handling of multiple localization notes * XML path markers are now in dedicated comments * Show language code when failing to get translation from PO * Added more regression tests * Handle UTF-8 in attribute values * Don't output non-translatable external ref messages * Better error handling @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.3 2012/10/25 06:56:00 asau Exp $ # d3 1 a3 1 DISTNAME= itstool-1.2.0 @ 1.3 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2012/03/10 10:56:15 obache Exp $ d4 1 a4 2 DISTNAME= itstool-1.1.2 PKGREVISION= 1 @ 1.2 log @bump PKGREVISION from python default change to 2.7. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2012/02/10 17:55:15 drochner Exp $ a14 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d5 1 @ 1.1.1.1 log @add itstool-1.1.2, from Patrick Welche per PR pkg/45794 ITS Tool allows you to translate XML documents with PO files @ text @@