pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Tree-DAG_Node



Module Name:    pkgsrc
Committed By:   wen
Date:           Sat Nov 15 01:38:26 UTC 2025

Modified Files:
        pkgsrc/devel/p5-Tree-DAG_Node: Makefile distinfo

Log Message:
Update to 1.35

Upstream changes:
1.35  2025-05-12T17:00:00
        - Change sub hashref2string() line 726 so it does not generate an error or warning when
                the node or node name is '' (empty string), undef or 0 (zero).
        - Change test data so that when stringifying a tree, node names without attributes are
                output as (e.g.) 'lexeme: Attributes{}' rather than as just 'lexeme'. This was alleged
                to have been done as per the last dot point under v 1.34 below, but was not done properly.
        - This last point also affects the related module Data::RenderAsTree, which ships with a
                range of test programs and sample scripts which futher exercise these features.
                The point of these latter samples is so you can use them without having to fiddle about
                removing the test code in the corresponding test scripts.
1.34  2025-04-23T17:01:00
        - Thanx to Shawn Laffan for reporting a problem with line-endings in files read and written,
                by both Tree::DAG_Node and t/read.tree.t, when he tests under Strawberry Perl.
        - The 2 test files t/tree.with*.txt ship as ISO-8859-1 while t/tree.utf8.attributes.txt ships
                as UTF-8. So...
        - Don't explicitly use UTF-8 encoding in DAG_Node.pm's sub read_tree(). Rather, use a regexp
                to standardize line endings after reading. Likewise, in t/read.tree.t, do the same.
        - I have un-commented the 2 extra tests at the end of t/read.tree.t. Specifically,
                line 50 was 'for (qw/utf8/)# with without/)'. It now says 'for (qw/utf8 with without/)'
        - Reformat test data files t/tree.*.attributes.txt
                This was done with the new files share/read.write.tree.(pl, sh).
                And it was done because some of the test data files had been written
                by old code with slightly different indenting.
        - Add a new test data file, t/metag.cooked.tree.txt
                It's a copy of MarpaX::Grammar::Parser's share/metag.cooked.tree.
                The test program t/read.tree.t was edited to include this new file.
        - Patch tree::DAG_Node.format_node() to output 'Attributes: {}' and not just 'Attributes:'
                when the user does not want attributes reported. This makes the code match the sample
                trees shipped in t/.
1.33  2025-03-20T11:16:00
        - Replace the discouraged File::Slurp::Tiny with File::Slurper.
                Thanx to Marcel Telka for the report.
                But why not use File::Slurp? Because...
                https://blogs.perl.org/users/leon_timmermans/2015/08/fileslurp-is-broken-and-wrong.html
        - Add a security policy file SECURITY.md
        - Update Makefile.PL to include both ExtUtils::MakeMaker and perl.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/devel/p5-Tree-DAG_Node/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/p5-Tree-DAG_Node/distinfo

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

Modified files:

Index: pkgsrc/devel/p5-Tree-DAG_Node/Makefile
diff -u pkgsrc/devel/p5-Tree-DAG_Node/Makefile:1.47 pkgsrc/devel/p5-Tree-DAG_Node/Makefile:1.48
--- pkgsrc/devel/p5-Tree-DAG_Node/Makefile:1.47 Fri Jul  4 08:46:58 2025
+++ pkgsrc/devel/p5-Tree-DAG_Node/Makefile      Sat Nov 15 01:38:26 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.47 2025/07/04 08:46:58 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2025/11/15 01:38:26 wen Exp $
 
-DISTNAME=      Tree-DAG_Node-1.32
+DISTNAME=      Tree-DAG_Node-1.35
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   4
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Tree/}
 EXTRACT_SUFX=  .tgz

Index: pkgsrc/devel/p5-Tree-DAG_Node/distinfo
diff -u pkgsrc/devel/p5-Tree-DAG_Node/distinfo:1.22 pkgsrc/devel/p5-Tree-DAG_Node/distinfo:1.23
--- pkgsrc/devel/p5-Tree-DAG_Node/distinfo:1.22 Tue Oct 26 10:17:51 2021
+++ pkgsrc/devel/p5-Tree-DAG_Node/distinfo      Sat Nov 15 01:38:26 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2021/10/26 10:17:51 nia Exp $
+$NetBSD: distinfo,v 1.23 2025/11/15 01:38:26 wen Exp $
 
-BLAKE2s (Tree-DAG_Node-1.32.tgz) = fe76985aa49b76db051c2e3c19138289682ab4b65be855d1d44d6e6c20ce4680
-SHA512 (Tree-DAG_Node-1.32.tgz) = 3ab6b48495abd09643555cf0160d00db39dc7ce576299b24eb4bc39e799ba478d88f863d8b2ec95853dc173e97c6efc3faff14e1d7c080f5166150f6fce2f817
-Size (Tree-DAG_Node-1.32.tgz) = 54680 bytes
+BLAKE2s (Tree-DAG_Node-1.35.tgz) = 14d3762badf228c9545e455b02083cbb2089ab32f41fc6df94156ef2101d6e98
+SHA512 (Tree-DAG_Node-1.35.tgz) = cfb8d8b14077808faf7e2fe0f1021f9778429d66fdb858497179fc2357902871987a1514d52c6e92eb47ea7ca3ac4c411e09d55004b2cda328f422e8a64f1a14
+Size (Tree-DAG_Node-1.35.tgz) = 66530 bytes



Home | Main Index | Thread Index | Old Index