Hello community,
here is the log from the commit of package perl-Tree-DAG_Node for
openSUSE:Factory checked in at 2014-03-19 09:05:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Tree-DAG_Node (Old)
and /work/SRC/openSUSE:Factory/.perl-Tree-DAG_Node.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Tree-DAG_Node"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Tree-DAG_Node/perl-Tree-DAG_Node.changes
2013-10-21 15:15:00.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Tree-DAG_Node.new/perl-Tree-DAG_Node.changes
2014-03-19 09:05:57.000000000 +0100
@@ -1,0 +2,17 @@
+Fri Mar 14 06:09:54 UTC 2014 - [email protected]
+
+- updated to 1.22
+ - t/read.tree.t was still using File::Slurp :-(.
+
+ 1.21 Thu Feb 13 11:14:00 2014
+ - Switch from File::Slurp to File::Slurp::Tiny, on the advice of Karen
Etheridge. See RT#92976.
+
+ 1.20 Fri Jan 31 09:46:00 2014
+ - After a private email from Paul Howarth (yea!) I see I need
File::Temp V 0.19 because that's
+ the version which introduced the newdir() method, as used in
the test suite. Sorry for the churn.
+
+ 1.19 Thu Jan 30 09:24:00 2014
+ - Set pre-req File::Temp version # to 0 (back from 0.2301). See D A
Golden's blog entry:
+
http://www.dagolden.com/index.php/2293/why-installing-distzilla-is-slow-and-what-you-can-do-about-it/.
+
+-------------------------------------------------------------------
Old:
----
Tree-DAG_Node-1.18.tgz
New:
----
Tree-DAG_Node-1.22.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Tree-DAG_Node.spec ++++++
--- /var/tmp/diff_new_pack.GbIWIS/_old 2014-03-19 09:05:58.000000000 +0100
+++ /var/tmp/diff_new_pack.GbIWIS/_new 2014-03-19 09:05:58.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Tree-DAG_Node
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Tree-DAG_Node
-Version: 1.18
+Version: 1.22
Release: 0
%define cpan_name Tree-DAG_Node
Summary: An N-ary tree
@@ -29,15 +29,14 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(File::Slurp) >= 9999.19
+BuildRequires: perl(File::Slurp::Tiny) >= 0.003
BuildRequires: perl(File::Spec) >= 3.4
-BuildRequires: perl(File::Temp) >= 0.2301
+BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(Module::Build) >= 0.38
BuildRequires: perl(Test::More) >= 0.98
-#BuildRequires: perl(Tree::DAG_Node)
-Requires: perl(File::Slurp) >= 9999.19
+Requires: perl(File::Slurp::Tiny) >= 0.003
Requires: perl(File::Spec) >= 3.4
-Requires: perl(File::Temp) >= 0.2301
+Requires: perl(File::Temp) >= 0.19
%{perl_requires}
%description
++++++ Tree-DAG_Node-1.18.tgz -> Tree-DAG_Node-1.22.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Tree-DAG_Node-1.18/Build.PL
new/Tree-DAG_Node-1.22/Build.PL
--- old/Tree-DAG_Node-1.18/Build.PL 2013-09-19 06:36:07.000000000 +0200
+++ new/Tree-DAG_Node-1.22/Build.PL 2014-02-13 05:43:32.000000000 +0100
@@ -1,6 +1,8 @@
use strict;
use warnings;
+use 5.008_001; # For the utf-8 stuff.
+
use Module::Build;
Module::Build -> new
@@ -20,11 +22,10 @@
},
requires =>
{
- 'File::Spec' => 3.40,
- 'File::Temp' => 0.2301,
- 'perl' => '5.008001', # For the utf-8 stuff.
- 'File::Slurp' => 9999.19,
- 'strict' => 0,
- 'warnings' => 0,
+ 'File::Spec' => 3.40,
+ 'File::Temp' => 0.19,
+ 'File::Slurp::Tiny' => 0.003,
+ 'strict' => 0,
+ 'warnings' => 0,
},
) -> create_build_script();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Tree-DAG_Node-1.18/Changelog.ini
new/Tree-DAG_Node-1.22/Changelog.ini
--- old/Tree-DAG_Node-1.18/Changelog.ini 2013-09-19 06:36:07.000000000
+0200
+++ new/Tree-DAG_Node-1.22/Changelog.ini 2014-02-13 05:43:32.000000000
+0100
@@ -1,7 +1,29 @@
[Module]
Name=Tree::DAG_Node
Changelog.Creator=Module::Metadata::Changes V 2.05
-Changelog.Parser=Config::IniFiles V 2.78
+Changelog.Parser=Config::IniFiles V 2.82
+
+[V 1.22]
+Date=2014-02-13T13:14:00
+Comments=- t/read.tree.t was still using File::Slurp :-(.
+
+[V 1.21]
+Date=2014-02-13T11:14:00
+Comments=- Switch from File::Slurp to File::Slurp::Tiny, on the advice of
Karen Etheridge. See RT#92976.
+
+[V 1.20]
+Date=2014-01-31T09:46:00
+Comments= <<EOT
+- After a private email from Paul Howarth (yea!) I see I need File::Temp V
0.19 because that's
+the version which introduced the newdir() method, as used in the test suite.
Sorry for the churn.
+EOT
+
+[V 1.19]
+Date=2014-01-30T09:24:00
+Comments= <<EOT
+- Set pre-req File::Temp version # to 0 (back from 0.2301). See D A Golden's
blog entry:
+http://www.dagolden.com/index.php/2293/why-installing-distzilla-is-slow-and-what-you-can-do-about-it/.
+EOT
[V 1.18]
Date=2013-09-19T14:24:00
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Tree-DAG_Node-1.18/Changes
new/Tree-DAG_Node-1.22/Changes
--- old/Tree-DAG_Node-1.18/Changes 2013-09-19 06:36:07.000000000 +0200
+++ new/Tree-DAG_Node-1.22/Changes 2014-02-13 05:43:32.000000000 +0100
@@ -1,5 +1,19 @@
Revision history for Perl module Tree::DAG_Node.
+1.22 Thu Feb 13 13:14:00 2014
+ - t/read.tree.t was still using File::Slurp :-(.
+
+1.21 Thu Feb 13 11:14:00 2014
+ - Switch from File::Slurp to File::Slurp::Tiny, on the advice of Karen
Etheridge. See RT#92976.
+
+1.20 Fri Jan 31 09:46:00 2014
+ - After a private email from Paul Howarth (yea!) I see I need
File::Temp V 0.19 because that's
+ the version which introduced the newdir() method, as used in
the test suite. Sorry for the churn.
+
+1.19 Thu Jan 30 09:24:00 2014
+ - Set pre-req File::Temp version # to 0 (back from 0.2301). See D A
Golden's blog entry:
+
http://www.dagolden.com/index.php/2293/why-installing-distzilla-is-slow-and-what-you-can-do-about-it/.
+
1.18 Thu Sep 19 14:24:00 2013
- No changes, code or otherwise, except for the version # in the *.pm,
this file, and Changelog.ini.
- Somehow a corrupted version got uploaded to search.cpan.org, so I've
just changed the version #.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Tree-DAG_Node-1.18/META.json
new/Tree-DAG_Node-1.22/META.json
--- old/Tree-DAG_Node-1.18/META.json 2013-09-19 06:36:07.000000000 +0200
+++ new/Tree-DAG_Node-1.22/META.json 2014-02-13 05:43:32.000000000 +0100
@@ -4,7 +4,7 @@
"Sean M. Burke <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4005, CPAN::Meta::Converter
version 2.131560",
+ "generated_by" : "Module::Build version 0.4204",
"license" : [
"artistic_2"
],
@@ -26,10 +26,9 @@
},
"runtime" : {
"requires" : {
- "File::Slurp" : "9999.19",
+ "File::Slurp::Tiny" : "0.003",
"File::Spec" : "3.4",
- "File::Temp" : "0.2301",
- "perl" : "5.008001",
+ "File::Temp" : "0.19",
"strict" : "0",
"warnings" : "0"
}
@@ -38,7 +37,7 @@
"provides" : {
"Tree::DAG_Node" : {
"file" : "lib/Tree/DAG_Node.pm",
- "version" : "1.18"
+ "version" : "1.22"
}
},
"release_status" : "stable",
@@ -47,5 +46,5 @@
"http://www.perlfoundation.org/artistic_license_2_0"
]
},
- "version" : "1.18"
+ "version" : "1.22"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Tree-DAG_Node-1.18/META.yml
new/Tree-DAG_Node-1.22/META.yml
--- old/Tree-DAG_Node-1.18/META.yml 2013-09-19 06:36:07.000000000 +0200
+++ new/Tree-DAG_Node-1.22/META.yml 2014-02-13 05:43:32.000000000 +0100
@@ -7,7 +7,7 @@
configure_requires:
Module::Build: 0.38
dynamic_config: 1
-generated_by: 'Module::Build version 0.4005, CPAN::Meta::Converter version
2.131560'
+generated_by: 'Module::Build version 0.4204, CPAN::Meta::Converter version
2.133380'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -16,14 +16,13 @@
provides:
Tree::DAG_Node:
file: lib/Tree/DAG_Node.pm
- version: 1.18
+ version: 1.22
requires:
- File::Slurp: 9999.19
+ File::Slurp::Tiny: 0.003
File::Spec: 3.4
- File::Temp: 0.2301
- perl: 5.008001
+ File::Temp: 0.19
strict: 0
warnings: 0
resources:
license: http://www.perlfoundation.org/artistic_license_2_0
-version: 1.18
+version: 1.22
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Tree-DAG_Node-1.18/Makefile.PL
new/Tree-DAG_Node-1.22/Makefile.PL
--- old/Tree-DAG_Node-1.18/Makefile.PL 2013-09-19 06:36:07.000000000 +0200
+++ new/Tree-DAG_Node-1.22/Makefile.PL 2014-02-13 05:43:32.000000000 +0100
@@ -1,6 +1,8 @@
use strict;
use warnings;
+use 5.008_001; # For the utf-8 stuff.
+
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
@@ -19,20 +21,19 @@
COMPRESS => 'gzip',
SUFFIX => 'gz'
},
- DISTNAME => 'Tree-DAG_Node',
- LICENSE => 'artistic_2',
- MIN_PERL_VERSION => '5.008001', # For the utf-8 stuff.
- NAME => 'Tree::DAG_Node',
- PL_FILES => {},
- PREREQ_PM =>
+ DISTNAME => 'Tree-DAG_Node',
+ LICENSE => 'artistic_2',
+ NAME => 'Tree::DAG_Node',
+ PL_FILES => {},
+ PREREQ_PM =>
{
- 'File::Spec' => 3.40,
- 'File::Temp' => 0.2301,
- 'File::Slurp' => 9999.19,
- 'strict' => 0,
- 'Test::More' => 0.98,
-## 'Test::Pod' => 1.45, # Make it optional. See t/pod.t. # Make
it optional. See t/pod.t
- 'warnings' => 0,
+ 'File::Spec' => 3.40,
+ 'File::Temp' => 0.19,
+ 'File::Slurp::Tiny' => 0.003,
+ 'strict' => 0,
+ 'Test::More' => 0.98,
+## 'Test::Pod' => 1.45, # Make it optional. See t/pod.t. #
Make it optional. See t/pod.t
+ 'warnings' => 0,
},
VERSION_FROM => 'lib/Tree/DAG_Node.pm',
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Tree-DAG_Node-1.18/README
new/Tree-DAG_Node-1.22/README
--- old/Tree-DAG_Node-1.18/README 2013-09-19 06:36:07.000000000 +0200
+++ new/Tree-DAG_Node-1.22/README 2014-02-13 05:43:32.000000000 +0100
@@ -1,125 +1,49 @@
-README for Tree::DAG_Node
+README file for Tree::DAG_Node.
- Tree::DAG_Node
- version 1.06
+See also: CHANGES and Changelog.ini.
-[Partially excerpted from the POD.]
+Warning: WinZip 8.1 and 9.0 both contain an 'accidental' bug which stops
+them recognizing POSIX-style directory structures in valid tar files.
+You are better off using a reliable tool such as InfoZip:
+ftp://ftp.info-zip.org/pub/infozip/
-Tree::DAG_Node is a (super)class for representing nodes in a tree.
+1 Installing from a Unix-like distro
+------------------------------------
+shell>gunzip Tree-DAG_Node-1.18.tgz
+shell>tar mxvf Tree-DAG_Node-1.18.tar
-This class encapsulates/makes/manipulates objects that represent nodes
-in a tree structure. The tree structure is not an object itself, but
-is emergent from the linkages you create between nodes. This class
-provides the methods for making linkages that can be used to build up
-a tree, while preventing you from ever making any kinds of linkages
-which are not allowed in a tree (such as having a node be its own
-mother or ancestor, or having a node have two mothers).
+On Unix-like systems, assuming you have installed Module::Build V 0.25+:
-This is what I mean by a "tree structure", a bit redundantly stated:
+shell>perl Build.PL
+shell>./Build
+shell>./Build test
+shell>./Build install
- * A tree is a special case of an acyclic directed graph.
+On MS Windows-like systems, assuming you have installed Module::Build V 0.25+:
- * A tree is a network of nodes where there's exactly one root node
- (i.e., 'the top'), and the only primary relationship between nodes
- is the mother-daughter relationship.
+shell>perl Build.PL
+shell>perl Build
+shell>perl Build test
+shell>perl Build install
- * No node can be its own mother, or its mother's mother, etc.
+Alternately, without Module::Build, you do this:
- * Each node in the tree has exactly one "parent" (node in the "up"
- direction) -- except the root, which is parentless.
+Note: 'make' on MS Windows-like systems may be called 'nmake' or 'dmake'.
- * Each node can have any number (0 to any finite number) of
- daughter nodes. A given node's daughter nodes constitute an
- *ordered* list. (However, you are free to consider this ordering
- irrelevant. Some applications do need daughters to be ordered, so
- I chose to consider this the general case.)
+shell>perl Makefile.PL
+shell>make
+shell>make test
+shell>su (for Unix-like systems)
+shell>make install
+shell>exit (for Unix-like systems)
- * A node can appear in only one tree, and only once in that tree.
- Notably (notable because it doesn't follow from the two above
- points), a node cannot appear twice in its mother's daughter list.
+On all systems:
- * In other words, there's an idea of up (toward the root) versus
- down (away from the root), and left (i.e., toward the start (index
- 0) of a given node's daughter list) versus right (toward the end
- of a given node's daughter list).
+Run DAG_Node.pm through your favourite pod2html translator.
-Trees as described above have various applications, among them:
-representing syntactic constituency, in formal linguistics;
-representing contingencies in a game tree; representing abstract
-syntax in the parsing of any computer language -- whether in
-expression trees for programming languages, or constituency in the
-parse of a markup language document. (Some of these might not use the
-fact that daughters are ordered.)
-
-Note: B-Trees are a very special case of the above kinds of trees, and
-are best treated with their own class. Check CPAN for modules
-encapsulating B-Trees; or if you actually want a database, and for
-some reason ended up looking here, go look at the AnyDBM_File
-manpage.)
-
-Many base classes are not usable except as such -- but Tree::DAG_Node
-can be used as a normal class.
-
-
-PREREQUISITES
-
-This suite requires Perl 5; I've only used it under Perl 5.004, so for
-anything lower, you're on your own.
-
-Tree::DAG_Node doesn't use any nonstandard modules.
-
-
-INSTALLATION
-
-You install Tree::DAG_Node, as you would install any perl module
-library, by running these commands:
-
- perl Makefile.PL
- make
- make test
- make install
-
-If you want to install a private copy of Tree::DAG_Node in your home
-directory, then you should try to produce the initial Makefile with
-something like this command:
-
- perl Makefile.PL LIB=~/perl
-
-Then you may need something like
- setenv PERLLIB "$HOME/perl"
-in your shell initialization file (e.g., ~/.cshrc).
-
-See perldoc perlmodinstall for more information on installing modules.
-
-
-DOCUMENTATION
-
-POD-format documentation is included in DAG_Node.pm. POD is readable
-with the 'perldoc' utility. See ChangeLog for recent changes.
-
-
-MACPERL INSTALLATION NOTES
-
-Don't bother with the makefiles. Just make a Tree directory in your
-MacPerl site_lib or lib directory, and move DAG_Node.pm into there.
-
-
-SUPPORT
-
-Questions, bug reports, useful code bits, and suggestions for
-Tree::DAG_Node should just be sent to David Hand, <[email protected]>.
-
-
-AVAILABILITY
-
-The latest version of Tree::DAG_Node is available from the Comprehensive
-Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find
-a CPAN site near you.
-
-
-COPYRIGHT AND LICENSE
-
-Copyright 1998-2001, 2004, 2007 by Sean M. Burke and David Hand.
-
-This program is free software. It is released under the Artistic License 2.0.
-See L<http://opensource.org/licenses/Artistic-2.0>.
+2 Installing from an ActiveState distro
+---------------------------------------
+shell>unzip Tree-DAG_Node-1.18.zip
+shell>ppm install --location=. Tree-DAG_Node
+shell>del Tree-DAG_Node-1.18.ppd
+shell>del PPM-Tree-DAG_Node-1.18.tar.gz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Tree-DAG_Node-1.18/lib/Tree/DAG_Node.pm
new/Tree-DAG_Node-1.22/lib/Tree/DAG_Node.pm
--- old/Tree-DAG_Node-1.18/lib/Tree/DAG_Node.pm 2013-09-19 06:36:07.000000000
+0200
+++ new/Tree-DAG_Node-1.22/lib/Tree/DAG_Node.pm 2014-02-13 05:43:32.000000000
+0100
@@ -5,9 +5,9 @@
use warnings qw(FATAL utf8); # Fatalize encoding glitches.
our $Debug = 0;
-our $VERSION = '1.18';
+our $VERSION = '1.22';
-use File::Slurp; # For read_file().
+use File::Slurp::Tiny 'read_lines';
# -----------------------------------------------
@@ -1088,7 +1088,7 @@
my(@stack);
my($tos);
- for my $line (read_file($file_name, {chomp => 1, binmode =>
':encoding(utf-8)'}) )
+ for my $line (read_lines($file_name, binmode => ':encoding(utf-8)',
chomp => 1) )
{
$count++;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Tree-DAG_Node-1.18/t/read.tree.t
new/Tree-DAG_Node-1.22/t/read.tree.t
--- old/Tree-DAG_Node-1.18/t/read.tree.t 2013-09-19 06:36:07.000000000
+0200
+++ new/Tree-DAG_Node-1.22/t/read.tree.t 2014-02-13 05:43:32.000000000
+0100
@@ -5,7 +5,7 @@
use File::Spec;
use File::Temp;
-use File::Slurp; # For read_file().
+use File::Slurp::Tiny 'read_file';
use Test::More;
@@ -28,7 +28,7 @@
print OUT "$_\n" for @{$root -> tree2string({no_attributes =>
$no_attr})};
close OUT;
- is(read_file("$input_file_name", {binmode => ':encoding(utf-8)'}),
read_file("$test_file_name", {binmode => ':encoding(utf-8)'}), "\u$file_name
attributes: Output tree matches shipped tree");
+ is(read_file("$input_file_name", binmode => ':encoding(utf-8)'),
read_file("$test_file_name", binmode => ':encoding(utf-8)'), "\u$file_name
attributes: Output tree matches shipped tree");
} # End of process.
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]