r67550 - in /trunk/libhtml-widget-perl/debian: changelog control patches/html-tree-4.patch patches/series

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Wed Jan 19 17:35:56 UTC 2011


Author: gregoa
Date: Wed Jan 19 17:35:31 2011
New Revision: 67550

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67550
Log:
New patch to make tests compatible with libhtml-tree-perl >= 4; make build dependency
versioned (closes: #605809).

Added:
    trunk/libhtml-widget-perl/debian/patches/html-tree-4.patch
Modified:
    trunk/libhtml-widget-perl/debian/changelog
    trunk/libhtml-widget-perl/debian/control
    trunk/libhtml-widget-perl/debian/patches/series

Modified: trunk/libhtml-widget-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-widget-perl/debian/changelog?rev=67550&op=diff
==============================================================================
--- trunk/libhtml-widget-perl/debian/changelog (original)
+++ trunk/libhtml-widget-perl/debian/changelog Wed Jan 19 17:35:31 2011
@@ -5,6 +5,10 @@
 
   [ Ansgar Burchardt ]
   * Update my email address.
+
+  [ gregor herrmann ]
+  * New patch to make tests compatible with libhtml-tree-perl >= 4; make build dependency
+    versioned (closes: #605809).
 
  -- gregor herrmann <gregoa at debian.org>  Wed, 28 Jul 2010 14:32:43 -0400
 

Modified: trunk/libhtml-widget-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-widget-perl/debian/control?rev=67550&op=diff
==============================================================================
--- trunk/libhtml-widget-perl/debian/control (original)
+++ trunk/libhtml-widget-perl/debian/control Wed Jan 19 17:35:31 2011
@@ -2,7 +2,7 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7)
-Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-install-perl, libtest-nowarnings-perl, libhtml-tree-perl, libclass-accessor-perl, libclass-accessor-chained-perl, libemail-valid-perl, libdate-calc-perl, libtest-mockobject-perl, libtest-pod-perl, libhtml-scrubber-perl, libmodule-pluggable-fast-perl, libclass-data-accessor-perl
+Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-install-perl, libtest-nowarnings-perl, libhtml-tree-perl (>= 4), libclass-accessor-perl, libclass-accessor-chained-perl, libemail-valid-perl, libdate-calc-perl, libtest-mockobject-perl, libtest-pod-perl, libhtml-scrubber-perl, libmodule-pluggable-fast-perl, libclass-data-accessor-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
  Ansgar Burchardt <ansgar at debian.org>

Added: trunk/libhtml-widget-perl/debian/patches/html-tree-4.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-widget-perl/debian/patches/html-tree-4.patch?rev=67550&op=file
==============================================================================
--- trunk/libhtml-widget-perl/debian/patches/html-tree-4.patch (added)
+++ trunk/libhtml-widget-perl/debian/patches/html-tree-4.patch Wed Jan 19 17:35:31 2011
@@ -1,0 +1,53 @@
+Description: make test compatible with HTML::Tree >= 4
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=63583
+Bug-Debian: http://bugs.debian.org/605809
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-01-19
+
+--- a/t/04basic.t
++++ b/t/04basic.t
+@@ -82,13 +82,14 @@
+     is( $c->error_xml, <<EOF, 'Error XML output is ok' );
+ <span class="error_messages" id="widget_age_errors"><span class="regex_errors" id="widget_age_error_regex">Contains digit characters.</span></span>
+ EOF
+-    is( $c->javascript_xml, <<EOF, 'JavScript XML output is ok' );
++    chomp( my $js = <<'EOF' );
+ <script type="text/javascript">
+ <!--
+ 
+ //-->
+ </script>
+ EOF
++    is( $c->javascript_xml, $js, 'JavScript XML output is ok' );
+     is( $c->as_xml, <<EOF, 'Container XML output is ok' );
+ <label class="labels_with_errors" for="widget_age" id="widget_age_label">Age<span class="fields_with_errors"><input class="textfield" id="widget_age" name="age" size="3" type="text" value="23" /></span></label>
+ <span class="error_messages" id="widget_age_errors"><span class="regex_errors" id="widget_age_error_regex">Contains digit characters.</span></span>
+--- a/t/07custom_render.t
++++ b/t/07custom_render.t
+@@ -119,13 +119,14 @@
+     is( $c->error_xml, <<EOF, 'Error XML output is ok' );
+ <span class="error_messages" id="widget_age_errors"><span class="regex_errors" id="widget_age_error_regex">Contains digit characters.</span></span>
+ EOF
+-    is( $c->javascript_xml, <<EOF, 'JavScript XML output is ok' );
++    chomp( my $js = <<'EOF' );
+ <script type="text/javascript">
+ <!--
+ 
+ //-->
+ </script>
+ EOF
++    is( $c->javascript_xml, $js, 'JavScript XML output is ok' );
+     is( $c->as_xml, <<EOF, 'Container XML output is ok' );
+ <label class="labels_with_errors" for="widget_age" id="widget_age_label">Age</label>
+ <br />
+--- a/t/06bugs_xml_escape.t
++++ b/t/06bugs_xml_escape.t
+@@ -23,5 +23,5 @@
+ 
+     like( "$f", qr'value="é"', 'utf-8 character ok' );
+ 
+-    like( "$f", qr'value="&#34; foo &#62;"', '' );
++    like( "$f", qr'value="&quot; foo &gt;"', '' );
+ }

Modified: trunk/libhtml-widget-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-widget-perl/debian/patches/series?rev=67550&op=diff
==============================================================================
--- trunk/libhtml-widget-perl/debian/patches/series (original)
+++ trunk/libhtml-widget-perl/debian/patches/series Wed Jan 19 17:35:31 2011
@@ -1,2 +1,3 @@
 whatis-entries.patch
 pod-coverage-test.patch
+html-tree-4.patch




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