head 1.46; access; symbols pkgsrc-2023Q4:1.46.0.4 pkgsrc-2023Q4-base:1.46 pkgsrc-2023Q3:1.46.0.2 pkgsrc-2023Q3-base:1.46 pkgsrc-2023Q2:1.45.0.2 pkgsrc-2023Q2-base:1.45 pkgsrc-2023Q1:1.44.0.6 pkgsrc-2023Q1-base:1.44 pkgsrc-2022Q4:1.44.0.4 pkgsrc-2022Q4-base:1.44 pkgsrc-2022Q3:1.44.0.2 pkgsrc-2022Q3-base:1.44 pkgsrc-2022Q2:1.43.0.10 pkgsrc-2022Q2-base:1.43 pkgsrc-2022Q1:1.43.0.8 pkgsrc-2022Q1-base:1.43 pkgsrc-2021Q4:1.43.0.6 pkgsrc-2021Q4-base:1.43 pkgsrc-2021Q3:1.43.0.4 pkgsrc-2021Q3-base:1.43 pkgsrc-2021Q2:1.43.0.2 pkgsrc-2021Q2-base:1.43 pkgsrc-2021Q1:1.42.0.6 pkgsrc-2021Q1-base:1.42 pkgsrc-2020Q4:1.42.0.4 pkgsrc-2020Q4-base:1.42 pkgsrc-2020Q3:1.42.0.2 pkgsrc-2020Q3-base:1.42 pkgsrc-2020Q2:1.41.0.8 pkgsrc-2020Q2-base:1.41 pkgsrc-2020Q1:1.41.0.4 pkgsrc-2020Q1-base:1.41 pkgsrc-2019Q4:1.41.0.6 pkgsrc-2019Q4-base:1.41 pkgsrc-2019Q3:1.41.0.2 pkgsrc-2019Q3-base:1.41 pkgsrc-2019Q2:1.39.0.8 pkgsrc-2019Q2-base:1.39 pkgsrc-2019Q1:1.39.0.6 pkgsrc-2019Q1-base:1.39 pkgsrc-2018Q4:1.39.0.4 pkgsrc-2018Q4-base:1.39 pkgsrc-2018Q3:1.39.0.2 pkgsrc-2018Q3-base:1.39 pkgsrc-2018Q2:1.38.0.6 pkgsrc-2018Q2-base:1.38 pkgsrc-2018Q1:1.38.0.4 pkgsrc-2018Q1-base:1.38 pkgsrc-2017Q4:1.38.0.2 pkgsrc-2017Q4-base:1.38 pkgsrc-2017Q3:1.37.0.6 pkgsrc-2017Q3-base:1.37 pkgsrc-2017Q2:1.37.0.2 pkgsrc-2017Q2-base:1.37 pkgsrc-2017Q1:1.36.0.4 pkgsrc-2017Q1-base:1.36 pkgsrc-2016Q4:1.36.0.2 pkgsrc-2016Q4-base:1.36 pkgsrc-2016Q3:1.35.0.4 pkgsrc-2016Q3-base:1.35 pkgsrc-2016Q2:1.35.0.2 pkgsrc-2016Q2-base:1.35 pkgsrc-2016Q1:1.33.0.4 pkgsrc-2016Q1-base:1.33 pkgsrc-2015Q4:1.33.0.2 pkgsrc-2015Q4-base:1.33 pkgsrc-2015Q3:1.32.0.4 pkgsrc-2015Q3-base:1.32 pkgsrc-2015Q2:1.32.0.2 pkgsrc-2015Q2-base:1.32 pkgsrc-2015Q1:1.31.0.4 pkgsrc-2015Q1-base:1.31 pkgsrc-2014Q4:1.31.0.2 pkgsrc-2014Q4-base:1.31 pkgsrc-2014Q3:1.29.0.2 pkgsrc-2014Q3-base:1.29 pkgsrc-2014Q2:1.28.0.2 pkgsrc-2014Q2-base:1.28 pkgsrc-2014Q1:1.27.0.4 pkgsrc-2014Q1-base:1.27 pkgsrc-2013Q4:1.27.0.2 pkgsrc-2013Q4-base:1.27 pkgsrc-2013Q3:1.26.0.4 pkgsrc-2013Q3-base:1.26 pkgsrc-2013Q2:1.26.0.2 pkgsrc-2013Q2-base:1.26 pkgsrc-2013Q1:1.25.0.2 pkgsrc-2013Q1-base:1.25 pkgsrc-2012Q4:1.24.0.2 pkgsrc-2012Q4-base:1.24 pkgsrc-2012Q3:1.22.0.6 pkgsrc-2012Q3-base:1.22 pkgsrc-2012Q2:1.22.0.4 pkgsrc-2012Q2-base:1.22 pkgsrc-2012Q1:1.22.0.2 pkgsrc-2012Q1-base:1.22 pkgsrc-2011Q4:1.21.0.4 pkgsrc-2011Q4-base:1.21 pkgsrc-2011Q3:1.21.0.2 pkgsrc-2011Q3-base:1.21 pkgsrc-2011Q2:1.20.0.6 pkgsrc-2011Q2-base:1.20 pkgsrc-2011Q1:1.20.0.4 pkgsrc-2011Q1-base:1.20 pkgsrc-2010Q4:1.20.0.2 pkgsrc-2010Q4-base:1.20 pkgsrc-2010Q3:1.19.0.2 pkgsrc-2010Q3-base:1.19 pkgsrc-2010Q2:1.17.0.4 pkgsrc-2010Q2-base:1.17 pkgsrc-2010Q1:1.17.0.2 pkgsrc-2010Q1-base:1.17 pkgsrc-2009Q4:1.16.0.10 pkgsrc-2009Q4-base:1.16 pkgsrc-2009Q3:1.16.0.8 pkgsrc-2009Q3-base:1.16 pkgsrc-2009Q2:1.16.0.6 pkgsrc-2009Q2-base:1.16 pkgsrc-2009Q1:1.16.0.4 pkgsrc-2009Q1-base:1.16 pkgsrc-2008Q4:1.16.0.2 pkgsrc-2008Q4-base:1.16 pkgsrc-2008Q3:1.15.0.4 pkgsrc-2008Q3-base:1.15 cube-native-xorg:1.15.0.2 cube-native-xorg-base:1.15 pkgsrc-2008Q2:1.14.0.4 pkgsrc-2008Q2-base:1.14 cwrapper:1.14.0.2 pkgsrc-2008Q1:1.13.0.12 pkgsrc-2008Q1-base:1.13 pkgsrc-2007Q4:1.13.0.10 pkgsrc-2007Q4-base:1.13 pkgsrc-2007Q3:1.13.0.8 pkgsrc-2007Q3-base:1.13 pkgsrc-2007Q2:1.13.0.6 pkgsrc-2007Q2-base:1.13 pkgsrc-2007Q1:1.13.0.4 pkgsrc-2007Q1-base:1.13 pkgsrc-2006Q4:1.13.0.2 pkgsrc-2006Q4-base:1.13 pkgsrc-2006Q3:1.12.0.6 pkgsrc-2006Q3-base:1.12 pkgsrc-2006Q2:1.12.0.4 pkgsrc-2006Q2-base:1.12 pkgsrc-2006Q1:1.12.0.2 pkgsrc-2006Q1-base:1.12 pkgsrc-2005Q4:1.9.0.4 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.2 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.7.0.2 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.5.0.2 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.2 pkgsrc-2003Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.46 date 2023.07.06.09.42.05; author wiz; state Exp; branches; next 1.45; commitid 6meR4IA6XJRNYIvE; 1.45 date 2023.04.30.01.36.13; author wen; state Exp; branches; next 1.44; commitid 9NeWs64nNjD8t4nE; 1.44 date 2022.06.28.11.36.45; author wiz; state Exp; branches; next 1.43; commitid D2UoJrTHpoHEANJD; 1.43 date 2021.05.24.19.54.56; author wiz; state Exp; branches; next 1.42; commitid qokaiStTApGMcrUC; 1.42 date 2020.08.31.18.12.14; author wiz; state Exp; branches; next 1.41; commitid 7zxRbfOkDOoxbfmC; 1.41 date 2019.08.11.13.23.57; author wiz; state Exp; branches; next 1.40; commitid Ifet9Pg6Qt99ZByB; 1.40 date 2019.07.01.21.35.55; author nia; state Exp; branches; next 1.39; commitid sovjRjd79glt4otB; 1.39 date 2018.08.22.09.47.10; author wiz; state Exp; branches; next 1.38; commitid YLub8g3ofvFGb6PA; 1.38 date 2017.12.24.10.11.08; author wiz; state Exp; branches; next 1.37; commitid 5AER1qoR8Lj568kA; 1.37 date 2017.06.05.14.24.59; author ryoon; state Exp; branches; next 1.36; commitid 54KDUXvefsKDYbUz; 1.36 date 2016.11.28.12.14.05; author wen; state Exp; branches; next 1.35; commitid qG2EWYxWuUzhlTvz; 1.35 date 2016.06.08.19.24.46; author wiz; state Exp; branches; next 1.34; commitid 12SLmHS6vHs0hH9z; 1.34 date 2016.05.03.10.54.57; author wiz; state Exp; branches; next 1.33; commitid vXVN65fIfYeIC15z; 1.33 date 2015.10.30.13.26.52; author wen; state Exp; branches; next 1.32; commitid VUjpbeAPSNmvr8Hy; 1.32 date 2015.06.12.10.51.38; author wiz; state Exp; branches; next 1.31; commitid B4JmCfaVUbiY38py; 1.31 date 2014.10.09.14.07.06; author wiz; state Exp; branches; next 1.30; commitid fBDATFVmQ3454xTx; 1.30 date 2014.10.09.13.45.01; author wiz; state Exp; branches; next 1.29; commitid UvzBSm5hrFIOWwTx; 1.29 date 2014.07.16.09.00.51; author wen; state Exp; branches; next 1.28; commitid asyoI12ykcPR6AIx; 1.28 date 2014.05.29.23.37.48; author wiz; state Exp; branches; next 1.27; commitid laryHfkCalgYtuCx; 1.27 date 2013.10.13.04.38.06; author wen; state Exp; branches; next 1.26; commitid ASq5RNhTfeaBw59x; 1.26 date 2013.05.31.12.42.22; author wiz; state Exp; branches; next 1.25; commitid hIeXGcx6VfKHwMRw; 1.25 date 2013.01.23.10.33.32; author rhaen; state Exp; branches; next 1.24; 1.24 date 2012.10.25.06.56.41; author asau; state Exp; branches; next 1.23; 1.23 date 2012.10.03.21.58.13; author wiz; state Exp; branches; next 1.22; 1.22 date 2012.01.26.13.05.56; author rhaen; state Exp; branches; next 1.21; 1.21 date 2011.08.14.15.14.21; author obache; state Exp; branches; next 1.20; 1.20 date 2010.12.17.23.09.27; author rhaen; state Exp; branches; next 1.19; 1.19 date 2010.08.21.16.36.17; author seb; state Exp; branches; next 1.18; 1.18 date 2010.07.31.12.15.43; author sno; state Exp; branches; next 1.17; 1.17 date 2010.02.22.16.24.04; author sno; state Exp; branches; next 1.16; 1.16 date 2008.10.19.19.19.00; author he; state Exp; branches; next 1.15; 1.15 date 2008.07.16.12.06.07; author rhaen; state Exp; branches; next 1.14; 1.14 date 2008.06.12.02.14.51; author joerg; state Exp; branches; next 1.13; 1.13 date 2006.11.06.13.40.41; author obache; state Exp; branches; next 1.12; 1.12 date 2006.03.04.21.30.50; author jlam; state Exp; branches; next 1.11; 1.11 date 2006.02.05.23.11.05; author joerg; state Exp; branches; next 1.10; 1.10 date 2006.01.24.07.32.38; author wiz; state Exp; branches; next 1.9; 1.9 date 2005.08.06.06.19.34; author jlam; state Exp; branches; next 1.8; 1.8 date 2005.07.13.18.01.43; author jlam; state Exp; branches; next 1.7; 1.7 date 2005.05.23.22.21.46; author seb; state Exp; branches; next 1.6; 1.6 date 2005.04.11.21.47.40; author tv; state Exp; branches; next 1.5; 1.5 date 2005.02.19.19.32.21; author wiz; state Exp; branches; next 1.4; 1.4 date 2004.12.20.11.31.11; author grant; state Exp; branches; next 1.3; 1.3 date 2004.04.23.20.39.54; author minskim; state Exp; branches; next 1.2; 1.2 date 2004.02.21.01.44.00; author gson; state Exp; branches; next 1.1; 1.1 date 2003.08.07.04.10.03; author gson; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.08.07.04.10.03; author gson; state Exp; branches; next ; desc @@ 1.46 log @*: recursive bump for perl 5.38 @ text @# $NetBSD: Makefile,v 1.45 2023/04/30 01:36:13 wen Exp $ DISTNAME= XML-Twig-3.52 PKGNAME= p5-${DISTNAME} PKGREVISION= 8 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://metacpan.org/release/XML-Twig COMMENT= Efficient XML document interface LICENSE= ${PERL5_LICENSE} DEPENDS+= p5-XML-Parser>=2.23:../../textproc/p5-XML-Parser DEPENDS+= p5-XML-XPath>=0:../../textproc/p5-XML-XPath # The modules listed below are required for testing purposes only # they are not required for building the package #DEPENDS+= p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree #DEPENDS+= p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy #DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod #DEPENDS+= p5-Test-Pod-Coverage>=1.0:../../devel/p5-Test-Pod-Coverage #DEPENDS+= p5-Text-Iconv-[0-9]*:../../converters/p5-Text-Iconv #DEPENDS+= p5-Tie-IxHash-[0-9]*:../../devel/p5-Tie-IxHash #DEPENDS+= p5-Unicode-Map8-[0-9]*:../../converters/p5-Unicode-Map8 #DEPENDS+= p5-Unicode-String-[0-9]*:../../converters/p5-Unicode-String #DEPENDS+= p5-XML-Filter-BufferText-[0-9]*:../../textproc/p5-XML-Filter-BufferText #DEPENDS+= p5-XML-Handler-YAWriter-[0-9]*:../../textproc/p5-XML-Handler-YAWriter #DEPENDS+= p5-XML-SAX-Writer-[0-9]*:../../textproc/p5-XML-SAX-Writer #DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple #DEPENDS+= p5-XML-XPath-[0-9]*:../../textproc/p5-XML-XPath #DEPENDS+= p5-YAML-[0-9]*:../../textproc/p5-YAML #DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww PERL5_PACKLIST= auto/XML/Twig/.packlist MAKE_ENV+= PERL_MM_USE_DEFAULT=1 .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" @ 1.45 log @Add a DEPENDS to make it work better @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2022/06/28 11:36:45 wiz Exp $ d5 1 a5 1 PKGREVISION= 7 @ 1.44 log @*: recursive bump for perl 5.36 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2021/05/24 19:54:56 wiz Exp $ d5 1 a5 1 PKGREVISION= 6 d15 1 @ 1.43 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2020/08/31 18:12:14 wiz Exp $ d5 1 a5 1 PKGREVISION= 5 @ 1.42 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2019/08/11 13:23:57 wiz Exp $ d5 1 a5 1 PKGREVISION= 4 @ 1.41 log @Bump PKGREVISIONs for perl 5.30.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2019/07/01 21:35:55 nia Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.40 log @Follow some remaining search.cpan.org redirects. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2018/08/22 09:47:10 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.39 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2017/12/24 10:11:08 wiz Exp $ d10 1 a10 1 HOMEPAGE= http://search.cpan.org/~mirod/XML-Twig/ @ 1.38 log @p5-XML-Twig: fix HOMEPAGE @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2017/06/05 14:24:59 ryoon Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.37 log @Recursive revbump from lang/perl5 5.26.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2016/11/28 12:14:05 wen Exp $ d10 1 a10 1 HOMEPAGE= http://www.xmltwig.com/ @ 1.36 log @Update to 3.52 Upstream changes: 3.52 - 2016-11-23 - minor maintenance release - fixed: the previous fix was buggy... 3.51 - 2016-11-23 - minor maintenance release - fixed: failing tests when XML::XPathEngine and XML::XPath not available 3.50 - 2016-11-22 - minor maintenance release - added: the no_xxe option to XML::Twig::new, which causes the parse to fail if external entities are used (to prevent malicious XML to access the filesystem). See RT#118097 https://rt.cpan.org/Public/Bug/Display.html?id=118097 - fixed: warning (and soon error) due to unescaped literal left braces in regular expressions in the code generating Twig.pm reported by trwyant https://github.com/mirod/xmltwig/issues/26 - fixed: (partial fix) implement getNamespaces in XML::Twig::XPath::Elt the expression doesn't crash the code, but doesn't return anything interesting (yet) reported by Nathan Glenn https://github.com/mirod/xmltwig/issues/12 - fixed: various spelling mistakes https://github.com/mirod/xmltwig/pull/24 thanks to James McCoy for the patch - git repo cleanup, thanks to mjg17 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2016/06/08 19:24:46 wiz Exp $ d5 1 @ 1.35 log @Bump PKGREVISION for perl-5.24. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2016/05/03 10:54:57 wiz Exp $ d3 1 a3 1 DISTNAME= XML-Twig-3.49 a4 1 PKGREVISION= 1 @ 1.34 log @Reset maintainer (observer now). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2015/10/30 13:26:52 wen Exp $ d5 1 @ 1.33 log @Update to 3.49 Upstream changes: 3.49 - 2015-03-24 - added: the DTD_base option to XML::Twig new, that forces XML::Twig to look for the DTD in a given directory thanks to Arun lakhana for the idea - fixed: XML::Parser 2.43 caused a failure in the tests due to a change in its behaviour when die-ing. - fixed: prevent PAUSE from trying to index packages that are only used for monkey patching (to re-use XML::XPath as the XPath engine for XML::Twig::XPath). Will also prevent UNAUTHORIZED flag on metacpan. patch sent by Graham Knop - fixed: RT #96009 keep_atts_order => 0 behaviour. Spotted by Dolmen https://rt.cpan.org/Public/Bug/Display.html?id=96009 - fixed bug RT #97461 wrong error message was returned calling parse on an invalid filehandle Thanks to Slaven Rezic for the bug report and test case https://rt.cpan.org/Public/Bug/Display.html?id=97461 - fixed: RT #98801 COMPATIBILITY WARNING inconsistency between simplify and XML::Simple for empty elements (including elements with start and end tags but no contents) the XML::Simple behaviour is to map them to an empty hash, not an empty/undef scalar (depending of whether the element is a PCDATA or not) as was the case in previous versions of the module. This has the potential to break some existing code, but simplify should be strictly the same as XML::Simple's XMLin Thanks to Vangelis Katsikaros for the bug report and test case https://rt.cpan.org/Public/Bug/Display.html?id=98801 @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.32 2015/06/12 10:51:38 wiz Exp $ # d8 1 a8 1 MAINTAINER= rhaen@@NetBSD.org @ 1.32 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2014/10/09 14:07:06 wiz Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.48 a5 1 PKGREVISION= 1 @ 1.31 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2014/10/09 13:45:01 wiz Exp $ d6 1 @ 1.30 log @Remove SVR4_PKGNAME, per discussion on tech-pkg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2014/07/16 09:00:51 wen Exp $ a33 2 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.29 log @Update to 3.48 Upstream changes: 3.48 - 2014-03-30 - minor maintenance release - fixed tests 3.47 - 2014-03-27 - minor maintenance release - fixed: missing entities when parsing HTML RT #93604 https://rt.cpan.org/Public/Bug/Display.html?id=93604 - fixed: tests failed when using a version of HTML::TreeBuilder with a non-numeric version - fixed in twig_handlers, '=' in regexps on attributes are turned into 'eq' RT #94295 https://rt.cpan.org/Public/Bug/Display.html?id=94295 3.46 - 2014-03-05 - minor maintenance release - fixed: test failed on Windows 3.45 - 2014-02-27 - minor maintenance release - fixed: link to idented_a format description RT #85400 https://rt.cpan.org/Public/Bug/Display.html?id=85400 fixed by Martin McGrath - fixed: code that gave a warning in 5.19.9 - fixed: RT #86651 https://rt.cpan.org/Ticket/Display.html?id=86773 xml_pp, quote not escaped in attribute values - fixed various typos in docs RT#87660 thanks to David Steinbrunner - fixed: RT #86773 https://rt.cpan.org/Ticket/Display.html?id=86773 CDATA sections in HTML were not properly escaped when using the (default) HTML::TreeBuilder conversion spotted by Marco Pessotto - fixed: RT #85933 https://rt.cpan.org/Ticket/Display.html?id=85933 quotes in attributes were not properly escaped dpotted by Arun Lakhana - added: docs for tools and safe_print_to_file - added: support for XPath variables thanks to Nathan Glenn for the initial implementation - updated: Changes to conform to CPAN::Changes + test @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2014/05/29 23:37:48 wiz Exp $ a5 1 SVR4_PKGNAME= p5xtw @ 1.28 log @Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2013/10/13 04:38:06 wen Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.44 a5 1 PKGREVISION= 1 @ 1.27 log @Update to 3.44 Upstream changes: version 3.44 # minor maintenance release added: XML::Twig::Elt new method now acccepts literal content, eg my $e= XML::Twig::Elt->new( '

foo

bar

'); fixed: merge had some problems dealing with embedded comments improved: more tests version 3.43 # minor maintenance release improved: docs for parse, see RT #78877 https://rt.cpan.org/Ticket/Display.html?id=78877 fixed: xml_pp -i now preserves the permissions of the original file, see RT #81165 https://rt.cpan.org/Ticket/Display.html?id=81165 reported by Alberto Simoes fixed: RT #80503 Newlines in attribute values https://rt.cpan.org/Ticket/Display.html?id=80503 reported (and explained) by Ambrus Zsban: \r, \n and \n explicitely set in attribute values should be escaped (with &#x;) when output @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2013/05/31 12:42:22 wiz Exp $ d6 1 @ 1.26 log @Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2013/01/23 10:33:32 rhaen Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.42 a5 1 PKGREVISION= 1 @ 1.25 log @- updated to 3.42 CHANGES version 3.42 date: 2012-11-06 # minor maintenance release fixed: bug, elements created with XML::Twig::Elt->parse were garbage collected too early, see http://stackoverflow.com/questions/13263193/xmltwig-changes-erased added: some tests version 3.41 date 2012-08-08 # minor maintenance release fixed: META.json generation version 3.40 date: 2012-05-10 # minor maintenance release added: support for alternations ('|') at the top level of handler triggers and navigation you can now have twig_handlers => { 't1|t2' => \&handler } and $elt->children( 't1|t2') added: the discard_all_spaces option that discards more aggressively non-significant white spaces see RT #71164 https://rt.cpan.org/Ticket/Display.html?id=71164 fixed: used $[ instead of $] in 3 tests, see RT#72765 https://rt.cpan.org/Ticket/Display.html?id=72765 reported by Kevin Ryde fixed: did not use Text::Wrap with indented_c see RT #71375 https://rt.cpan.org/Ticket/Display.html?id=71375 reported and patch provided by Martin Strömberg fixed: doc change for XML::Twig::Elt flush, see RT #72279 https://rt.cpan.org/Ticket/Display.html?id=72279 fixed: replaced HTML::TreeBuilder::as_XML with am XML::Twig specific version, to avoid bugs in the original version and improve stability of the output @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2012/10/25 06:56:41 asau Exp $ d6 1 @ 1.24 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2012/10/03 21:58:13 wiz Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.39 a5 1 PKGREVISION= 1 @ 1.23 log @Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2012/01/26 13:05:56 rhaen Exp $ a36 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.22 log @Updated to 3.39 ChangeLog: - nothing for 3.39 in upstream noted version 3.38 date: 2011-07-27 # minor maintenance release fixed: RT 65865: _ should be allowed at the start on an XML name https://rt.cpan.org/Ticket/Display.html?id=65865 reported by Steve Prokopowich removed: making att and class lvalues created problems: in certain context they made regular calls to the method create empty attributes. I could find no satisfactory fix,they were either incompletes, or to complex for often used methods. So att and class are back to being regular, non l-value methods. latt and lclass are the l-value versions. added: documented the -html option for xml_grep, that allows processing HTML input added: the -Tidy option to xml_grep, that uses HTML::Tidy to convert HTML to XML @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2011/08/14 15:14:21 obache Exp $ d6 1 @ 1.21 log @Revision bump after updating perl5 to 5.14.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2010/12/17 23:09:27 rhaen Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.37 a5 1 PKGREVISION= 1 @ 1.20 log @- updated to 3.37 Changelog: version 3.37 date: 2010-10-08 # minor maintenance release fixed: more tests fixed for HTML::TreeBuilder, hopefully will pass now version 3.36 date: 2010-10-07 # minor maintenance release added: the use_tidy option to XML::Twig->new, which uses HTML::Tidy to convert HTML to well-formed XHTML, as an alternative to the default conversion which uses HTML::TreeBuilder added: XML::Twig::Elt method siblings which returns the siblings of the element added: methods att_accessors, elt_accessors and field_accessor as well as the similarly named options when creating an XML::Twig added: set_outer_xml XML::Twig::Elt method added: print_to_file on an XML::Twig::Elt added: can use the tag[nested] form in twig handlers that triggers on elements 'tag' that include a child 'nested' added: aliased the add_to_class XML::Twig::Elt method to add_class, which seems more natural added: the remove_class method added: made att and class lvalues (in perl 5.6 and up) fixed: copy did not copy the empty status of an element RT#31664 spotted by Roland Minner https://rt.cpan.org/Ticket/Display.html?id=31664 fixed: cut_children would always set the empty status of an element, even if it had children left fixed: tests did not pass with HTML::TreeBuilder 3.23_1 due to a change in an error message @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2010/08/21 16:36:17 seb Exp $ d6 1 @ 1.19 log @Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@@ was right after all, obache@@ kindly asked and he@@ led the way. Thanks! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2010/07/31 12:15:43 sno Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.35 a5 1 PKGREVISION= 1 @ 1.18 log @Updating textproc/p5-XML-Twig from 3.34 to 3.35 pkgsrc changes: - remove dead master site Upstream changes: version: 3.35 date: # minor maintenance release added: the by_file option to xml_grep that limits the number of hits per file added: allowed the text of ignored elements to be buffered in a string fixed: comments need to be escaped (you can't have 2 '-' in a row), RT#57389 spotted by Konstantin Tchernov https://rt.cpan.org/Ticket/Display.html?id=57389 fixed: after $elt->cut_children, $elt->empty is false RT#54570 spotted and patched by Andrew Pimlott https://rt.cpan.org/Ticket/Display.html?id=54570 fixed: documented the fact that latin1 is ISO-8859-15, see RT#37431 https://rt.cpan.org/Ticket/Display.html?id=37431 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2010/02/22 16:24:04 sno Exp $ d6 1 a6 1 #PKGREVISION= 1 @ 1.17 log @Updating textproc/p5-XML-Twig from 3.32nb1 to 3.34 pkgsrc changes: - Add license definition - Change patches against PERL_MM_USE_DEFAULT environment variable for EU::MM Upstream changes: CHANGES version: 3.34 date: 2010-01-18 # minor maintenance release, test suite fixes fixed: tests failed when XML::XPath was used as the XPath engine @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2008/10/19 19:19:00 he Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.34 d9 1 a9 2 MASTER_SITES= http://www.xmltwig.com/xmltwig/ \ ${MASTER_SITE_PERL_CPAN:=XML/} @ 1.16 log @Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2008/07/16 12:06:07 rhaen Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.32 d6 1 a6 1 PKGREVISION= 1 d15 1 d41 1 @ 1.15 log @- updated to 3.32 - took maintainership - updated DEPENDS for testing purposes (not required) ChangeLog: version: 3.32 date: $Date: 2007-11-13T18:10:03.393214Z $ # minor maintenance release with a bug fix fix: change to the regexp that parses XPath-like conditions so it can accept leading non-ascii letters ([^\W\d] does not work), not used in perl 5.005 fix: set use utf8 (except in 5.005), which gets rid of the dreaded "SWASHNEW" error in 5.6. fixed things that then broke in 5.6. version: 3.31 # minor maintenance release, fixing some tests tests: fixes to stop tests from failing in various configurations Changes in 3.30 fixed a couple of bugs in namespace handling, spotted by Shlomo Yonas (see https://rt.cpan.org/Ticket/Display.html?id=27617 and http://www.perlmonks.org/?node_id=624830) added the XML::Twig::Elt fields method which returns a list of fields added the normalize method in XML::Twig and XML::Twig::Elt, which merge together consecutive pcdata elements. As much as possible (so far after a cut, delete or erase), the twig is kept normalized, eg there are no consecutive #PCDATA elements in it. Suggestion of someone whose name (and emails) I can't find at the moment. added the indented_a / cvs format for pretty_print, that makes the output friendly to line-oriented version control tools, as described in http://tinyurl.com/2kwscq (RT #24954). Thanks to Sjur Moshagen for a patch that I adapted to the current version. fixed bug RT #25113: system entities were not properly resolved if the XML file was not in the current directory. Thanks to Dave Charness for the patch. Added the XML::Twig method finish_now that terminates parsing immediately, without checking the rest of the XML. This feature was half suggested by Nick Clayton added the -s option to xml_split, which splits when the given size is reached for a file, suggested by Radek Saturka. added the -g option to xml_split, which groups elements to be split, suggested and tested by Dhirendra Singh Kholia. added the safe_parsefile_html and safe_parseurl_html methods, and a --html option to xml_grep. Suggested by Bill Ricker. by default xml_grep now skips non well-formed files, the --strict option makes it die when it finds one fixed a bunch of bugs in xml_grep fixed a warning when using optional modules with a version number that includes an _, spotted and fix suggested by Bill Ricker. Fixed test failure on cygwin, thanks to Erik Rantapaa for the patch. Fixed a bunch of typos in docs, RT #25836, spotted and fixed by David Steinbrunner Improved re-use of XML::Twig objects for repetitive parsing. It looks like it should be OK now , but I am sure I haven't tested all cases yet (especially when DTDs and entities are involved). HTML parsing improved: XML::Twig now tries to find the proper encoding for the document (that's not done by HTML::TreeBuilder at the moment). XML::Twig::Elt purge and flush methods now only purge/flush up to the element, not up to the current element in the twig (duh!) Fixed bug in handlers of the form elt[string(subelt)="foo"] and elt[string(subelt)=1] which did not work at all fixed bug in parameter entity output, spotted by BenHopkins on perlmonks (see http://www.perlmonks.org/?node_id=618360) fixed bug in xml_string: options were not used improved error reporting for missing SYSTEM entities, including the option to set twig_expand_external_ents to -1, which makes missing SYSTEM entities not fatal, but reports them in $t->{twig_missing_system_entities} Thanks to Frank Wegmann for his suggestions and for testing the various versions of the feature fixed internals so new versions of Pod::Coverage won't barf Changes in 3.29 fixed a bug in the handling of handlers after an ignore (RT #24392, reported by Robert Eden). Changes in 3.28 now builds on Windows and OS2 refactored the code that triggers handlers, more complex expressions can now be handled, such as '/doc/section[@@def="1"]/title' COMPATIBILITY WARNING Up to version 3.26, you could change the attribute of a parent of a node on which you had a handler, and be able to trigger a handler on that parent node based on the new attribute value: XML::Twig->new( twig_handlers => { 'sect/title' => sub { $_->parent->set_att( has_title => 1)}, 'sect[@@has_title="1"]'=> sub { ... }, # called for any sect that has } # a title ); This won't work now. The trigger expression ('sect[@@has_title="1"]') is evaluated strictly against the input XML. This is more logical and consistent (if you changed the element name, the new name was never used in the evaluation of the trigger). The only exception to that rule is if you use "private attributes": attributes which name starts with a '#'. By definition this in an invalid XML name, so it can't be in the input, and has to have been created . In that case the code that evaluates the trigger looks at the attribute in the element in the tree in memory (if it exists). So in the example above, if you replace 'has_title' by '#has_title', everything will work fine. Note that private attributes are not output when using the print/sprint/xml_string... methods. fixed xml_pp so it does not leave a tempfile and a broken original file all when the original file is not well-formed. added the nparse_pp method that does an nparse with pretty_print set to 'indented', nparse_e that sets error_context, and nparse_ppe that does both added XML::Twig::Elt tag_to_span and tag_to_div methods (turn an element into a span/div and set its class to the old tag name) added the quote option for XML::Twig new, which sets the output quote character for attributes ('single' or 'double') added the text_only and xml_text_only methods that return the text of the element, but not of the sub-elements. added outer_xml method (synonym for sprint) fixed bug where entity names were not matched properly (RT #22854, spotted by Bob Faist) fixed bug on some DOCTYPE config with twig_print_outside_roots fixed bug in set_keep_encoding (the method, not the option). fixed bug in simplify: the code attempted to replace variables in attribute values even if no option required it, spotted by Klaus Rush clean-up and fixed bugs in ignore: the method can now be called from a regular handler (it always could but the docs did not say so, thanks to kudra for noticing this). It can also be called to ignore a parent of the current element. There were bugs there, and the tree was not built properly added error message when an XPath query with a leading / is used on a node that does not belong to a whole twig (because it's been cut or because the twig itself went out of scope) when parsing HTML with error_context set, the HTML is indented, in order to give better error report @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2008/06/12 02:14:51 joerg Exp $ d6 1 @ 1.14 log @Add DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2006/11/06 13:40:41 obache Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.26 d11 1 a11 1 MAINTAINER= pkgsrc-users@@NetBSD.org d17 3 a19 1 # These are only needed for the test target d22 1 @ 1.13 log @Update p5-XML-Twig to 3.26. Based on patch provided by Martin Wilke via PR 34412. And modify dependency. - Remove p5-WeakRef>=0.01: this is optional and Scalar::Util or WeakRef, and Scalar::Util alredy exists in perl base package. - Remove p5-File-Temp>=0.12: newer version exsits in perl base package. Changes: Changes in 3.26 added argument to -i in the Makefile to prevent problem in win32 added XML::Twig::Elt former_next_sibling, former_prev_sibling and former_parent methods squashed a memory leak when parsing html (forgot to call delete on the HTML::Tree object) fixed bug that caused XML::Twig to hang if there was a syntax error in a predicate (RT#19499, reported by Dan Dascalescu) made start_tag and end_tag more consistent: they now both return the empty string for comments, PIs... (reported by Dan Dascalescu) added parsefile_inplace and parsefile_html_inplace methods (thanks to GrandFather on perlmonks) added support to add css stylesheet in the add_stylesheet method (thanks to Georgi Sotirov) patched tests to work on Win32 added set_inner_xml inner_xml and set_inner_html methods Changes in 3.25 patched to work with perl 5.005! fixed a bug in xml_pp when pretty printing a file in place in a different file system Changes in 3.24 added loading the text of entities stored in separate files (using SYSTEM) when the (awfully named!) expand_external_ents option is used. Thanks to jhx for spotting this. changed set_cdata, set_pi and set_comment so that if you call them on an element of the wrong kind, everything works as expected, instead of swallowing silently the data. Bug spotted by cmccutcheon fixed a whole bunch of things to make the module run and the tests pass on VMS, thanks to Peter (Stig) Edwards who reported bug RT #18655 and provided a patch. fixed bug on get_xpath( '/root[1]') expressions, RT #18789 spotted by memfrob. added the add_stylesheet method, that... adds a stylesheet (xsl type is supported, let me know if other types are needed) to a document. allowed pasting PI/Comment elements before or after the root of a document (see discussion at http://perlmonks.org/index.pl?node_id=538550). Thanks to rogue90 for noticing the problem, and to Tanktalus for finding the best way to solve it. aliased unwrap to erase (eg added the unwrap method to XML::Twig::Elt, identical to the existing erase) suggested by Chris Burbridge. fixed bug RT #17522: flushing twice at the end of the the parse would output the last fragment twice. Spotted by Harco de Hilster. dealt with bug RT #17500: parsing a pipe when using the UTF8 perlIO layer (through PERL_UNICODE or -C) now raises an error, found by Nikolaus Rath. made the tests pass when the UTF8 perlIO layer is used. At this point potential problems when parsing non-UTF8 XML in this configuration are not trapped. Changes in 3.23 added autoflush: there is no more need for the last $twig->flush after the parsing, it is done automatically at the end of the parsing, with the same arguments as the first flush on the twig. This can be turned of by setting $twig->{twig_autoflush} to 0. WARNING: if you finished the output with a direct print instead of a flush, then this change will cause a bug. Hopefully this should not be the case and is easily fixable. fixed bug RT #17145 where get_xpath('//root/elt[1]/child') would produce a fatal error if there were no elt element under root. Spotted by Dan Dascalescu. fixed bug RT #17064 (comments and PIs after the root element were not properly processed), spotted by Dan Dascalescu. fixed bug RT #17044: the SYSTEM value was not output in UpdateDTD mode, thanks to Michal Lewandowski for pointing this out. changed the way empty tags are expanded with the 'html' style: only tags that are allowed to be empty in XHTML are output as '', thanks to Tom Rathborne for proding me to look into this. added a 'wrapped' pretty_print option, that is a bit dodgy I think but that might please some. fixed bug RT #16540 (tags with specific names (like 'level'), tripped XML::Twig, spotted by Graham added comparison with XML::LibXML in the SEE ALSO section (and in the FAQ), following a question from surf on c.l.p.m XML::Twig now rejects string/regexp condition in twig_roots added better error checking in xml_grep fix for string/regexp condition in xml_grep added support for ! @@att (or not @@att) in get_xpath added support for several predicates in get_xpath (not nested predicates though). fixed bug RT #15671 (wrong condition interpretation for attribute value 0) added XML::Twig print_to_file method added XML::Twig::Elt methods: following_elt, following_elts, preceding_elt, preceding_elts (needed to support the corresponding axis in get_xpath) Changes in 3.22 added the XML::Twig xparse method, which parses whatever is thrown at it (filehandle, string, HTML file, HTML URL, URL or file). added the XML::Twig nparse method, which creates a twig and then calls xparse on the last parameter. added the parse_html and parsefile_html methods, which parse HTML strings (or fh) and files respectively, whith the help of HTML::TreeBuilder. the implementation may still change. Note that at the moment there seems to be encoding problems with it (if the input is not UTF8). added info to t/zz_dump_config.t fixed a bug that caused subs_text to leave empty #PCDATA elements if the regexp matched at the begining or at the end of the text of an element. fixed RT #15014: in a few methods objects were created as XML::Twig::Elt, instead of in the classu^!F of the calling object. fixed RT #14959: problem with wrap_children when an attribute of one of the child element includes a '>' improved the docs for wrap_children added a better error message when re-using an existing twig during the parse partially fixed a bug with windows line-endings in CDATA sections with keep_encoding set (RT #14815) added Test::Pod::Coverage test to please the kwalitee police ;--) Changes in 3.21 fixed a test that failed if Tie::IxHash was not available added link to Atom feed for the CPAN testers results at http://xmltwig.com/rss/twig_testers.rss Changes in 3.20 fixed the pod (which caused the tests to fail) Changes in 3.19 redid the fix to RT # 14008, this one should be ok u^!F restructured tests added the _dump method (probably not finished) Changes in 3.18 added a fix to deal with a bug in XML::Parser in the original_string method when used in CDATA sections longer than 1024 chars (RT # 14008) thanks to Dan Dascalescu for spotting the bug and providing a test case. added better error diagnostics when the wrong arguments are used in paste fixed a bug in subs_text when the text of an element included \n (RT #13665) spotted by Dan Dascalescu cleaned up the behaviour of erase when the element being erased has extra_data (comments or pis) attached fixed a bug in subs_text that sometimes messed up text after the matching text fixed the erase/group_tags option of simplify to make it exactly similar to XML::Simple's fixed a bug that caused XML::Twig to crash when ignore was used with twig_roots (RT #13382) spotted by Larry Siden fixed bug in xml_split with default entities (they ended up being doubly escaped) fixed various bugs when dealing with ids (changing existing ids, setting the attribute directly...) mark and split now accepts several tags/ as arguments, so you can write for example: $elt->mark( qr/^(\w+): (.*)$/, 'dt', 'dd'); added XML::Twig::Elt children_trimmed_text method, patch sent by ambrus (RT #12510) changed children_text and children_trimmed_text to have them return the entire text in scalar context fixed bug that caused XML::Twig not to play nice with XML::Xerces (due to improper import of UNIVERSAL::isa) spotted and patched by Colin Robertson. removed most references to 'gi' in the docs, replaced them by tag. I guess Robin Berjon's relentless teasing is to be credited with this one. added tag_regexp condition on handlers (a regexp instead of a regular condition will trigger the handler if the tag matches), suggested by Franck Porcher, implementation helped by a few Perl Monks (http://perlmonks.org/index.pl?node_id=445677). fixed typos in xml_split (RT #11911 and #11911), reported by Alexey Tourbin added tests for xml_split and xml_merge and fixed a few bugs in the process added the -i option to xml_split and xml_merge, that use XInclude instead of PIs (preliminary support, the XInclude namespace is not declared for example). Added the XML::Twig and XML::Twig::Elt trim method that trims an element in-place Added the XML::Twig last_elt method and the XML::Twig::Elt last_descendant method Added more tests @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2006/03/04 21:30:50 jlam Exp $ d33 1 @ 1.12 log @Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2006/02/05 23:11:05 joerg Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.17 a5 1 PKGREVISION= 3 a14 1 DEPENDS+= p5-WeakRef>=0.01:../../devel/p5-WeakRef a15 1 DEPENDS+= p5-File-Temp>=0.12:../../devel/p5-File-Temp @ 1.11 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2006/01/24 07:32:38 wiz Exp $ d12 1 a12 1 MAINTAINER= tech-pkg@@NetBSD.org @ 1.10 log @Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because of the shlib major bump. PKGREVISION++ for the dependencies. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2005/08/06 06:19:34 jlam Exp $ d6 1 a6 1 PKGREVISION= 2 @ 1.9 log @Bump the PKGREVISIONs of all (638) packages that hardcode the locations of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2005/07/13 18:01:43 jlam Exp $ d6 1 a7 1 PKGREVISION= 1 @ 1.8 log @Turn PERL5_PACKLIST into a relative path instead of an absolute path. These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2005/05/23 22:21:46 seb Exp $ d7 1 @ 1.7 log @Update to version 3.17. While here list, as comments, all dependencies needed to run the self tests Changes since last packaged version (3.16): Changes in 3.17 documentation changes, mostly to point better to the resources at http://www.xmltwig.com fix a few tests that would fail under perl 5.6.* and Solaris (t/test_safe_encode.t and t/test_bug_3.15.t), see RT bug # 11844, thanks to Sven Neuhaus made the licensing terms in the README match the ones in the main module (same as Perl), see RT bug #11725 added a test on XML::SAX::Writer version number to avoid failing tests with old versions (<0.39) improved xml_split @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2005/04/11 21:47:40 tv Exp $ d36 1 a36 1 PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/Twig/.packlist @ 1.6 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2005/02/19 19:32:21 wiz Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.16 d19 15 @ 1.5 log @Update to 3.16: Changes in 3.16 added the xml_split/xml_merge tools fixed PI handler behaviour when used in twig_roots mode fix a bug that prevented the DTD to be output when update_DTD mode is on, no DTD is present but entities have been created added level() trigger for handlers fixed bug that prevented the output_filter to be called when printing an element. Spotted thanks to Louis Strous. fixed bug in the nsgmls pretty printer that output invalid XML (an extra \n was added in the end tag) found by Lee Goddard fixed test 284 in test_additional to make it pass in RedHat's version of perl 5.8.0, thanks to rdhayes for debugging and fixing that test. first shot at getting Pis and comments back in the proper place, even in 'keep' mode. At the moment using set_pcdata (or set_cdata) removes all embedded comments/pis fixed a bug with pi's in keep mode (pi's would not be copied if they were within an element) found by Pascal Sternis added a fix to get rid of spurious warnings, sent by Anthony Persaud added the remove_cdata option to the XML::Twig new method, that will output CDATA sections as regular (escaped) PCDATA added the index option to the XML::Twig new method, and the associated XML::Twig index method, which generates a list of element matching a condition during parsing added the XML::Twig::Elt first_descendant method fixed a bug with the keep_encoding option where attributes were not parsed when the element name was followed by more than one space (spotted by Gerald Sedrati-Dinet), see https://rt.cpan.org/Ticket/Display.html?id=8137 fixed a bug where whitespace at the begining of an element could be dropped (if followed by an element before any other character). Now whitespace is dropped only if it includes a \n added feature: when load_DTD is used, default attributes are now filled fixed bug on xmlns in path expression trigger (would not replace prefixes in path expressions), spotted by amonroy on perlmonks, see http://perlmonks.org/index.pl?node_id=386764 optimized XML::Twig text, thanks to Nick Lassonde for the patch fixed bug that generated an empty line before some comments (pointed out by Tanya Huang) fixed tests to check XML::Filter::BufferText version (1.00 has a bug in the CDATA handling that makes XML::Twig tests fail). Added new options --nowrap and --exclude (-v) to xml_grep fixed warning in tests under 5.8.0 (spotted by Ed Avis) skipped HTML::Entities tests in 5.8.0 (make test for this module seem to fail on my system, it might be the same elsewhere) Fixed bug RT #6067 (problems with non-standard versions of Scalar::Utils which do not include weaken) Fixed bug RT #6092 (error when using safe output filter) Fixed bug when using map_xmlns, tags in default namespace were not output Changes in 3.15 Fixes that allow the tests to pass on more systems (thanks to Ed Avis for his testing) Added normalize_space option for simplify (suggestion of Lambert Lum) Removed usage of $& Expanded the doc for paste, as it was a bit short (suggestion of Richard Jolly) Changes in 3.14 Namespace processing has been enhanced and should work fine now, as long as twig_roots is not used. Potentially uncompatible change: the behaviour of simplify has been changed to mimic as exactly as possible XML::Simple's XMLin Completed the pod to cover the entire API Tests now pass with perl 5.005_04-RC1 (fail with 5.005 reported by David Claughton), added more tests and a config summary at the end of the tests Added methods on the class attribute, convenient for dealing with XHTML or preparing display with CSS: class set_class add_to_class att_to_class add_att_to_class move_att_to_class tag_to_class add_tag_to_class set_tag_class in_class navigation functions can use '.' expressions fixed (yet another!) bug in the way DTDs were output fixed bug for pi => 'drop' option changed the names of lots on internal (undocumented) methods, prefixed them with _ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2004/12/20 11:31:11 grant Exp $ a20 1 USE_BUILDLINK3= YES @ 1.4 log @since perl is now built with threads on most platforms, the perl archlib module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2004/04/23 20:39:54 minskim Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.13 a6 1 PKGREVISION= 1 d8 2 a9 1 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/} @ 1.3 log @Bl3ify and enable pkgviews installation. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2004/02/21 01:44:00 gson Exp $ d7 1 @ 1.2 log @Updated p5-XML-Twig from version 3.10 to 3.13. Changes in 3.13: Maintenance release to get the tests to pass on various platforms updated the README fixed a problem with encoding conversions (using safe_encode and safe_encode_hex) under perl 5.8.0, see RT ticket #5111 fixed tests to pass when trying to use an unsupported iconv filter Changes in 3.12: New features and greatly increased test coverage added lots of tests (>900), thanks to David Rigaudiere, Forrest Cahoon, Sebastien Aperghis-Tramoni, Henrik Tougaard and Sam Tregar for testing this release on various OSs, Perl, XML::Parser and expat versions. added XML::Twig::XPath that uses XML::XPath as the XPath engine for findnodes, findnodes_as_string, findvalue, exists, find and matches. Just use XML::Twig::XPath instead of use XML::Twig; (see the tests in t/xmlxpath_*). Added special case to output some HTML tags ('script' to start with) as not empty. XML::Twig::Elt->new now properly flags empty elements (spotted by Dave Roe) added XML::Twig::Elt contains_a_single method added #ENT twig_handlers (not necessarily complete, so not yet documented, needs more tests) added doc for XML::Twig and XML::Twig::Elt subs_text methods tags starting with # are now "invisible" (they are not output), useful for example for pretty_printing added new options --wrap '' and --date to xml_grep improved XPath support (added [nb] support) added xpath method, which generates a unique XPath for an element added has_child and has_children as synonyms of first_child added XML::Twig::set_id_seed to control how generated id's are created when using ignore on an element, end_tag_handlers are now tested at the end of the element (so you can for exemple get the byte offset in the document), suggestion of Philippe Verdret added XML::Twig::Elt change_att_name XML::Twig::Elt new now properly works when called as an object (and not a class) method fixed namespace processing somewhat fixed SAX output methods fixed bug when keep_atts_order on and using set_att on an element with no existing attribute (spotted by scharloi) WARNING - potentially incompatible changes - when using finish_print, the document used to be flushed. This is no longer the case, you will have to do it before calling finish_print. This way you have the choice of doing it or not. Removed XML::Twig::Elt::unescape function (was no longer used) Changes in 3.11 added --text_only option to xml_grep (outputs the text of the result, without tags) fixed bug where "Comments [was] always dropped after a twig object set 'comments' to 'drop'" (RT#3711), bug report and first patch by Simon Flack by popular demand, added option "keep_atts_order" that keeps the original attribute order in the output. This option needs the Tie::IxHash module to work. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2003/08/07 04:10:03 gson Exp $ d18 3 a20 1 USE_BUILDLINK2= YES @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2003/07/17 22:54:41 grant Exp $ d4 1 a4 1 DISTNAME= XML-Twig-3.10 @ 1.1.1.1 log @Initial import of p5-XML-Twig. XML::Twig is a Perl module for efficient processing of XML documents using a mixed stream/tree model. @ text @@