r8836 - in /trunk/libnet-amazon-perl/debian: changelog control patches/ patches/canned_tests.patch patches/series rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Sun Nov 4 16:23:09 UTC 2007
Author: gregoa-guest
Date: Sun Nov 4 16:23:08 2007
New Revision: 8836
URL: http://svn.debian.org/wsvn/?sc=1&rev=8836
Log:
Re-enable tests after adding canned_tests.patch.
Added:
trunk/libnet-amazon-perl/debian/patches/
trunk/libnet-amazon-perl/debian/patches/canned_tests.patch
trunk/libnet-amazon-perl/debian/patches/series
Modified:
trunk/libnet-amazon-perl/debian/changelog
trunk/libnet-amazon-perl/debian/control
trunk/libnet-amazon-perl/debian/rules
Modified: trunk/libnet-amazon-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-amazon-perl/debian/changelog?rev=8836&op=diff
==============================================================================
--- trunk/libnet-amazon-perl/debian/changelog (original)
+++ trunk/libnet-amazon-perl/debian/changelog Sun Nov 4 16:23:08 2007
@@ -10,8 +10,9 @@
- Call dh_clean before make distclean.
- Move test to build target.
- Remove unused dh_* calls and some whitespace.
+ * Re-enable tests after adding canned_tests.patch.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 04 Nov 2007 14:56:45 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Sun, 04 Nov 2007 17:11:00 +0100
libnet-amazon-perl (0.43-1) unstable; urgency=low
Modified: trunk/libnet-amazon-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libnet-amazon-perl/debian/control?rev=8836&op=diff
==============================================================================
--- trunk/libnet-amazon-perl/debian/control (original)
+++ trunk/libnet-amazon-perl/debian/control Sun Nov 4 16:23:08 2007
@@ -1,7 +1,7 @@
Source: libnet-amazon-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 5.0.0), quilt
Build-Depends-Indep: perl (>= 5.8.0-7), libwww-perl, liburi-perl, libxml-simple-perl, liblog-log4perl-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>, Jaldhar H. Vyas <jaldhar at debian.org>
Added: trunk/libnet-amazon-perl/debian/patches/canned_tests.patch
URL: http://svn.debian.org/wsvn/trunk/libnet-amazon-perl/debian/patches/canned_tests.patch?rev=8836&op=file
==============================================================================
--- trunk/libnet-amazon-perl/debian/patches/canned_tests.patch (added)
+++ trunk/libnet-amazon-perl/debian/patches/canned_tests.patch Sun Nov 4 16:23:08 2007
@@ -1,0 +1,14 @@
+Index: lib/Net/Amazon.pm
+===================================================================
+--- libnet-amazon-perl/lib/Net/Amazon.pm (revision 8833)
++++ libnet-amazon-perllib/Net/Amazon.pm (working copy)
+@@ -482,7 +482,8 @@
+ ##################################################
+ my($self, $ref, $new_items, $page) = @_;
+ if(exists $ref->{Items}->{TotalPages} and
+- $ref->{Items}->{TotalPages} > $page) {
++ $ref->{Items}->{TotalPages} > $page and
++ $IS_CANNED ne 1) {
+ DEBUG("Page $page of $ref->{Items}->{TotalPages} fetched - continuing");
+ return 1;
+ }
Added: trunk/libnet-amazon-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libnet-amazon-perl/debian/patches/series?rev=8836&op=file
==============================================================================
--- trunk/libnet-amazon-perl/debian/patches/series (added)
+++ trunk/libnet-amazon-perl/debian/patches/series Sun Nov 4 16:23:08 2007
@@ -1,0 +1,1 @@
+canned_tests.patch
Modified: trunk/libnet-amazon-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-amazon-perl/debian/rules?rev=8836&op=diff
==============================================================================
--- trunk/libnet-amazon-perl/debian/rules (original)
+++ trunk/libnet-amazon-perl/debian/rules Sun Nov 4 16:23:08 2007
@@ -6,6 +6,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
# If set to a true value then MakeMaker's prompt function will
# always return the default without waiting for user input.
@@ -19,15 +21,15 @@
TMP =$(CURDIR)/debian/$(PACKAGE)
-build: build-stamp
+build: patch build-stamp
build-stamp:
dh_testdir
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
- # $(MAKE) test
+ $(MAKE) test
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
More information about the Pkg-perl-cvs-commits
mailing list