r23816 - in /trunk/libmodule-packaged-perl/debian: changelog control patches/ patches/series patches/skip_network_test.patch rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Tue Aug 5 14:35:43 UTC 2008
Author: gregoa
Date: Tue Aug 5 14:35:41 2008
New Revision: 23816
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23816
Log:
* Move libmodule-build-perl to Build-Depends.
* Create patch skip_network_test.patch to disable tests that need network
access; add quilt framework.
Added:
trunk/libmodule-packaged-perl/debian/patches/
trunk/libmodule-packaged-perl/debian/patches/series
trunk/libmodule-packaged-perl/debian/patches/skip_network_test.patch
Modified:
trunk/libmodule-packaged-perl/debian/changelog
trunk/libmodule-packaged-perl/debian/control
trunk/libmodule-packaged-perl/debian/rules
Modified: trunk/libmodule-packaged-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-packaged-perl/debian/changelog?rev=23816&op=diff
==============================================================================
--- trunk/libmodule-packaged-perl/debian/changelog (original)
+++ trunk/libmodule-packaged-perl/debian/changelog Tue Aug 5 14:35:41 2008
@@ -18,6 +18,9 @@
* debian/watch: use dist-based URL.
* Add libtest-pod-perl, libtest-pod-coverage-perl to Build-Depends-Indep to
enable some tests.
+ * Move libmodule-build-perl to Build-Depends.
+ * Create patch skip_network_test.patch to disable tests that need network
+ access; add quilt framework.
-- Joachim Breitner <nomeata at debian.org> Mon, 11 Feb 2008 20:29:57 +0000
Modified: trunk/libmodule-packaged-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-packaged-perl/debian/control?rev=23816&op=diff
==============================================================================
--- trunk/libmodule-packaged-perl/debian/control (original)
+++ trunk/libmodule-packaged-perl/debian/control Tue Aug 5 14:35:41 2008
@@ -1,8 +1,8 @@
Source: libmodule-packaged-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
-Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-build-perl,
+Build-Depends: debhelper (>= 5.0.0), libmodule-build-perl, quilt (>= 0.40)
+Build-Depends-Indep: perl (>= 5.8.0-7),
perl-modules (>= 5.10), libwww-perl (>= 5.69), libsort-versions-perl (>= 1.5),
libparse-debian-packages-perl (>= 0.01), libparse-cpan-packages-perl (>= 2.20),
libapp-cache-perl, libio-string-perl, libtest-pod-perl,
Added: trunk/libmodule-packaged-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-packaged-perl/debian/patches/series?rev=23816&op=file
==============================================================================
--- trunk/libmodule-packaged-perl/debian/patches/series (added)
+++ trunk/libmodule-packaged-perl/debian/patches/series Tue Aug 5 14:35:41 2008
@@ -1,0 +1,1 @@
+skip_network_test.patch
Added: trunk/libmodule-packaged-perl/debian/patches/skip_network_test.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-packaged-perl/debian/patches/skip_network_test.patch?rev=23816&op=file
==============================================================================
--- trunk/libmodule-packaged-perl/debian/patches/skip_network_test.patch (added)
+++ trunk/libmodule-packaged-perl/debian/patches/skip_network_test.patch Tue Aug 5 14:35:41 2008
@@ -1,0 +1,21 @@
+Author: gregor herrmann <gregoa at debian.org>
+Description: tests need network access (and have version numbers hard coded)
+
+--- a/t/simple.t
++++ b/t/simple.t
+@@ -4,6 +4,9 @@
+ use Test::More tests => 4;
+ use_ok('Module::Packaged');
+
++SKIP: {
++skip "Tests disabled on Debian because they need network access.", 3;
++
+ warn "\n# These tests take a while to run as we need to mirror a large\n";
+ warn "# file from the web. Please be patient.\n";
+
+@@ -38,4 +41,4 @@
+ suse => '1.50',
+ }, 'DBI');
+
+-
++} # SKIP
Modified: trunk/libmodule-packaged-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-packaged-perl/debian/rules?rev=23816&op=diff
==============================================================================
--- trunk/libmodule-packaged-perl/debian/rules (original)
+++ trunk/libmodule-packaged-perl/debian/rules Tue Aug 5 14:35:41 2008
@@ -14,19 +14,21 @@
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
+include /usr/share/quilt/quilt.make
+
PERL ?= /usr/bin/perl
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
dh_testdir
$(PERL) Build.PL installdirs=vendor
$(PERL) Build
$(PERL) Build test
touch $@
-clean:
+clean: unpatch
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
More information about the Pkg-perl-cvs-commits
mailing list