r29842 - in /trunk/libxml-rss-libxml-perl/debian: README.source control patches/ patches/debian-skip-tests-with-no-data.patch patches/series rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Jan 19 21:51:06 UTC 2009


Author: dmn
Date: Mon Jan 19 21:51:03 2009
New Revision: 29842

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=29842
Log:
patch t/* to skip tests that require data unavailable on Debian; plug quilt; add README.source

Added:
    trunk/libxml-rss-libxml-perl/debian/README.source
    trunk/libxml-rss-libxml-perl/debian/patches/
    trunk/libxml-rss-libxml-perl/debian/patches/debian-skip-tests-with-no-data.patch
    trunk/libxml-rss-libxml-perl/debian/patches/series
Modified:
    trunk/libxml-rss-libxml-perl/debian/control
    trunk/libxml-rss-libxml-perl/debian/rules

Added: trunk/libxml-rss-libxml-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-rss-libxml-perl/debian/README.source?rev=29842&op=file
==============================================================================
--- trunk/libxml-rss-libxml-perl/debian/README.source (added)
+++ trunk/libxml-rss-libxml-perl/debian/README.source Mon Jan 19 21:51:03 2009
@@ -1,0 +1,3 @@
+libxml-rss-libxml-perl uses quilt for managing changes to upstream source.
+
+See /usr/share/doc/quilt/README.source for a crash-source in quilt.

Modified: trunk/libxml-rss-libxml-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-rss-libxml-perl/debian/control?rev=29842&op=diff
==============================================================================
--- trunk/libxml-rss-libxml-perl/debian/control (original)
+++ trunk/libxml-rss-libxml-perl/debian/control Mon Jan 19 21:51:03 2009
@@ -1,7 +1,7 @@
 Source: libxml-rss-libxml-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7), quilt
 Build-Depends-Indep: perl (>= 5.6.0-12), libxml-libxml-perl,
  libdatetime-format-w3cdtf-perl, libxml-libxml-perl (>= 1.66),
  libdatetime-format-mail-perl, libuniversal-require-perl,

Added: trunk/libxml-rss-libxml-perl/debian/patches/debian-skip-tests-with-no-data.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-rss-libxml-perl/debian/patches/debian-skip-tests-with-no-data.patch?rev=29842&op=file
==============================================================================
--- trunk/libxml-rss-libxml-perl/debian/patches/debian-skip-tests-with-no-data.patch (added)
+++ trunk/libxml-rss-libxml-perl/debian/patches/debian-skip-tests-with-no-data.patch Mon Jan 19 21:51:03 2009
@@ -1,0 +1,48 @@
+# Author: Damyan Ivanov <dmn at debian.org>
+# Description: skip tests that depend on non-distributrable data that is
+#              removed from the Debiab tarball
+# Note: not forwarded upstream as it is Debian-specific
+--- a/t/1.0-parse-2.t
++++ b/t/1.0-parse-2.t
+@@ -8,7 +8,9 @@ use Test::More tests => 7;
+ use File::Spec;
+ use XML::RSS::LibXML;
+ 
++SKIP:
+ {
++    skip "test data unavailable on Debian", 3;
+     my $rss = XML::RSS::LibXML->new();
+ 
+     $rss->parsefile(File::Spec->catfile(File::Spec->curdir(), "t", "data", "merlyn1.rss"));
+@@ -32,7 +34,9 @@ use XML::RSS::LibXML;
+     }
+ }
+ 
++SKIP:
+ {
++    skip "test data unavailable on Debian", 3;
+     my $rss = XML::RSS::LibXML->new(version => "2.0");
+ 
+     $rss->parsefile(File::Spec->catfile(File::Spec->curdir(), "t", "data", "merlyn1.rss"));
+--- a/t/1.0-to-2.0.t
++++ b/t/1.0-to-2.0.t
+@@ -5,7 +5,7 @@ use warnings;
+ 
+ use File::Spec;
+ 
+-use Test::More tests => 8;
++use Test::More skip_all => "Test data unavailable on Debian";
+ 
+ use XML::RSS::LibXML;
+ 
+--- a/t/2.0-permalink.t
++++ b/t/2.0-permalink.t
+@@ -3,7 +3,7 @@
+ use strict;
+ use warnings;
+ 
+-use Test::More tests => 4;
++use Test::More skip_all => "Test data unavailable on Debian";
+ 
+ use File::Spec;
+ use XML::RSS::LibXML;

Added: trunk/libxml-rss-libxml-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-rss-libxml-perl/debian/patches/series?rev=29842&op=file
==============================================================================
--- trunk/libxml-rss-libxml-perl/debian/patches/series (added)
+++ trunk/libxml-rss-libxml-perl/debian/patches/series Mon Jan 19 21:51:03 2009
@@ -1,0 +1,1 @@
+debian-skip-tests-with-no-data.patch

Modified: trunk/libxml-rss-libxml-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-rss-libxml-perl/debian/rules?rev=29842&op=diff
==============================================================================
--- trunk/libxml-rss-libxml-perl/debian/rules (original)
+++ trunk/libxml-rss-libxml-perl/debian/rules Mon Jan 19 21:51:03 2009
@@ -1,11 +1,13 @@
 #!/usr/bin/make -f
 
+include /usr/share/quilt/quilt.make
+
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	PERL_AUTOINSTALL=--skip dh build
 	touch $@
 
-clean:
+clean: unpatch
 	dh $@
 
 install: install-stamp




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