[libgraph-writer-graphviz-perl] 05/05: Commit Debian 3.0 (quilt) metadata

gregor herrmann gregoa at debian.org
Sat Feb 8 19:57:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to annotated tag debian/0.11-1nmu1
in repository libgraph-writer-graphviz-perl.

commit 0657e1bedd8213e5f09e9199a1ecd63bd70b50af
Author: Ian Jackson <ijackson at chiark.greenend.org.uk>
Date:   Sat Feb 8 17:45:25 2014 +0000

    Commit Debian 3.0 (quilt) metadata
---
 .pc/applied-patches                                |   1 +
 .../MANIFEST                                       |  16 ++++
 .../t/1.simple.t                                   |  36 +++++++
 .../t/2.ioall.t                                    |  44 +++++++++
 .../t/TestUtils.pl}                                |   0
 ...079e4cfabd405ca738ff8a89dfad19f17800-1391881523 | 105 +++++++++++++++++++++
 debian/patches/series                              |   1 +
 7 files changed, 203 insertions(+)

diff --git a/.pc/applied-patches b/.pc/applied-patches
index e69de29..8e2c794 100644
--- a/.pc/applied-patches
+++ b/.pc/applied-patches
@@ -0,0 +1 @@
+auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523
diff --git a/.pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/MANIFEST b/.pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/MANIFEST
new file mode 100644
index 0000000..749c521
--- /dev/null
+++ b/.pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/MANIFEST
@@ -0,0 +1,16 @@
+inc/Module/Install.pm
+inc/Module/Install/Base.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Makefile.pm
+inc/Module/Install/Metadata.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/WriteAll.pm
+lib/Graph/Writer/GraphViz.pm
+Makefile.PL
+MANIFEST
+META.yml
+README
+t/0.use.t
+t/1.simple.t
+t/2.ioall.t
diff --git a/.pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/t/1.simple.t b/.pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/t/1.simple.t
new file mode 100644
index 0000000..952a07b
--- /dev/null
+++ b/.pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/t/1.simple.t
@@ -0,0 +1,36 @@
+#!/usr/bin/env perl -w
+
+use strict;
+use blib;
+use Test::Simple tests => 1;
+use IO::All;
+use Graph;
+use Graph::Writer::GraphViz;
+
+my @v = qw/Alice Bob Crude Dr/;
+my $g = Graph->new;
+$g->add_vertices(@v);
+
+my $wr = Graph::Writer::GraphViz->new(-format => 'dot');
+$wr->write_graph($g,'t/graph.simple.dot');
+
+$/ = undef;
+my $g1 = <DATA>;
+my $g2 = io('t/graph.simple.dot')->slurp;
+# Ignore font-sizes, it's system-dependant
+$g1 =~ s/\d+/0/g;
+$g2 =~ s/\d+/0/g;
+ok($g1 eq $g2);
+unlink('t/graph.simple.dot');
+
+__DATA__
+digraph test {
+	graph [ratio=fill];
+	node [label="\N", color=black];
+	edge [color=black];
+	graph [bb="0,0,290,52"];
+	Bob [label=Bob, pos="27,26", width="0.75", height="0.50"];
+	Dr [label=Dr, pos="99,26", width="0.75", height="0.50"];
+	Alice [label=Alice, pos="174,26", width="0.83", height="0.50"];
+	Crude [label=Crude, pos="256,26", width="0.94", height="0.50"];
+}
diff --git a/.pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/t/2.ioall.t b/.pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/t/2.ioall.t
new file mode 100644
index 0000000..f18fff8
--- /dev/null
+++ b/.pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/t/2.ioall.t
@@ -0,0 +1,44 @@
+#!/usr/bin/env perl -w
+
+use strict;
+use blib;
+use Test::Simple tests => 2;
+use IO::All;
+use Graph;
+use Graph::Writer::GraphViz;
+
+my @v = qw/Alice Bob Crude Dr/;
+my $g = Graph->new;
+$g->add_vertices(@v);
+
+my $wr = Graph::Writer::GraphViz->new(-format => 'dot');
+my $io = io('t/graph.ioall.dot')->mode('w+')->assert;
+$wr->write_graph($g, $io );
+
+my ($g1,$g2);
+$io->seek(0,0);
+$g2 = $io->slurp;
+
+{
+    local $/ = undef;
+    $g1 = <DATA>;
+}
+
+ok(-f 't/graph.ioall.dot');
+# Ignore font-sizes, it's system-dependant
+$g1 =~ s/\d+/0/g;
+$g2 =~ s/\d+/0/g;
+ok($g1 eq $g2);
+$io->unlink;
+
+__DATA__
+digraph test {
+	graph [ratio=fill];
+	node [label="\N", color=black];
+	edge [color=black];
+	graph [bb="0,0,290,52"];
+	Bob [label=Bob, pos="27,26", width="0.75", height="0.50"];
+	Dr [label=Dr, pos="99,26", width="0.75", height="0.50"];
+	Alice [label=Alice, pos="174,26", width="0.83", height="0.50"];
+	Crude [label=Crude, pos="256,26", width="0.94", height="0.50"];
+}
diff --git a/.pc/applied-patches b/.pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/t/TestUtils.pl
similarity index 100%
copy from .pc/applied-patches
copy to .pc/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523/t/TestUtils.pl
diff --git a/debian/patches/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523 b/debian/patches/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523
new file mode 100644
index 0000000..f83442c
--- /dev/null
+++ b/debian/patches/auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523
@@ -0,0 +1,105 @@
+Description: Automatically generated patch (0.11-1nmu1)
+ Last (up to) 3 git changes, FYI:
+ .
+ commit 85fe079e4cfabd405ca738ff8a89dfad19f17800
+ Author: Ian Jackson <ijackson at chiark.greenend.org.uk>
+ Date:   Sat Feb 8 17:45:05 2014 +0000
+ .
+     debian: finalise changelog for 0.11-1nmu1
+ .
+ commit c0818e59eab55ace2b177d0ea88682c81d2830aa
+ Author: Ian Jackson <ijackson at chiark.greenend.org.uk>
+ Date:   Sat Feb 8 17:22:45 2014 +0000
+ .
+     Tests: Sort the keywords in the graph output
+ .
+     They come out in hash order which is not necessarily stable.
+     Fixes FTBFS with perl 5.18 (Debian #711446, CPAN #85950).
+ .
+     Signed-off-by: Ian Jackson <ijackson at chiark.greenend.org.uk>
+ .
+ commit bcedbb978208ce08d35e8f317fed5b34695ac1ab
+ Author: Ian Jackson <ijackson at chiark.greenend.org.uk>
+ Date:   Sat Feb 8 17:18:34 2014 +0000
+ .
+     Tests: Provide a TestUtils.pl containing broken-out launder() function
+ .
+     The code for laundering font sizes was duplicated between the tests.
+     Instead, break it out into a common function launder() in a new file
+     t/TestUtils.pl (which exists just for the tests).
+ .
+     Signed-off-by: Ian Jackson <ijackson at chiark.greenend.org.uk>
+ .
+     squash! Tests: Provide a Test.pm containing
+Author: Ian Jackson <ijackson at chiark.greenend.org.uk>
+
+---
+
+--- libgraph-writer-graphviz-perl-0.11.orig/MANIFEST
++++ libgraph-writer-graphviz-perl-0.11/MANIFEST
+@@ -14,3 +14,4 @@ README
+ t/0.use.t
+ t/1.simple.t
+ t/2.ioall.t
++t/TestUtils.pl
+--- libgraph-writer-graphviz-perl-0.11.orig/t/1.simple.t
++++ libgraph-writer-graphviz-perl-0.11/t/1.simple.t
+@@ -6,6 +6,7 @@ use Test::Simple tests => 1;
+ use IO::All;
+ use Graph;
+ use Graph::Writer::GraphViz;
++require 't/TestUtils.pl';
+ 
+ my @v = qw/Alice Bob Crude Dr/;
+ my $g = Graph->new;
+@@ -17,9 +18,8 @@ $wr->write_graph($g,'t/graph.simple.dot'
+ $/ = undef;
+ my $g1 = <DATA>;
+ my $g2 = io('t/graph.simple.dot')->slurp;
+-# Ignore font-sizes, it's system-dependant
+-$g1 =~ s/\d+/0/g;
+-$g2 =~ s/\d+/0/g;
++launder(\$g1);
++launder(\$g2);
+ ok($g1 eq $g2);
+ unlink('t/graph.simple.dot');
+ 
+--- /dev/null
++++ libgraph-writer-graphviz-perl-0.11/t/TestUtils.pl
+@@ -0,0 +1,13 @@
++
++sub launder ($) {
++    my ($gr) = @_;
++    # Ignore font-sizes, it's system-dependant
++    $$gr =~ s/\d+/0/g;
++    # Sort the keywords in the graph output, as they come out
++    # in hash order which isn't necessarily stable.
++    $$gr =~ s{((?:\s+.*\n)+)}{
++        join "\n", sort split /\n/, $1
++    }ge;
++}
++
++1;
+--- libgraph-writer-graphviz-perl-0.11.orig/t/2.ioall.t
++++ libgraph-writer-graphviz-perl-0.11/t/2.ioall.t
+@@ -6,6 +6,7 @@ use Test::Simple tests => 2;
+ use IO::All;
+ use Graph;
+ use Graph::Writer::GraphViz;
++require 't/TestUtils.pl';
+ 
+ my @v = qw/Alice Bob Crude Dr/;
+ my $g = Graph->new;
+@@ -25,9 +26,9 @@ $g2 = $io->slurp;
+ }
+ 
+ ok(-f 't/graph.ioall.dot');
+-# Ignore font-sizes, it's system-dependant
+-$g1 =~ s/\d+/0/g;
+-$g2 =~ s/\d+/0/g;
++
++launder(\$g1);
++launder(\$g2);
+ ok($g1 eq $g2);
+ $io->unlink;
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8e2c794
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+auto-0.11-1nmu1-85fe079e4cfabd405ca738ff8a89dfad19f17800-1391881523

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgraph-writer-graphviz-perl.git



More information about the Pkg-perl-cvs-commits mailing list