r8409 - in /trunk/libwww-mechanize-shell-perl/debian: changelog control patches/ patches/01-fix_test_10.patch patches/series rules

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Sat Oct 20 19:14:03 UTC 2007


Author: hanska-guest
Date: Sat Oct 20 19:14:03 2007
New Revision: 8409

URL: http://svn.debian.org/wsvn/?sc=1&rev=8409
Log:
NEEDS Test::Without::Module and Pod::Constants PACKAGED.
 -- David (hanska-guest)
* debian/control:
  - Depends field wrapped
  - added dependency on quilt
  - added dependencies on libtest-without-module-perl,
    libpod-constants-perl and libtest-inline-perl.
  - added myself to Uploaders
* debian/rules:
  - some clean up
  - added support to quilt
* debian/patches/* added - handle some special cases (see the comment
  in the patch file)

Added:
    trunk/libwww-mechanize-shell-perl/debian/patches/
    trunk/libwww-mechanize-shell-perl/debian/patches/01-fix_test_10.patch
    trunk/libwww-mechanize-shell-perl/debian/patches/series
Modified:
    trunk/libwww-mechanize-shell-perl/debian/changelog
    trunk/libwww-mechanize-shell-perl/debian/control
    trunk/libwww-mechanize-shell-perl/debian/rules

Modified: trunk/libwww-mechanize-shell-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libwww-mechanize-shell-perl/debian/changelog?rev=8409&op=diff
==============================================================================
--- trunk/libwww-mechanize-shell-perl/debian/changelog (original)
+++ trunk/libwww-mechanize-shell-perl/debian/changelog Sat Oct 20 19:14:03 2007
@@ -1,9 +1,8 @@
 libwww-mechanize-shell-perl (0.46-1) UNRELEASED; urgency=low
 
-  HTML::Display is in the repository, it lacks copyright info.
-  Please refer to libhtml-display-perl/debian/copyright for further
-  reference. -- David
-  
+  NEEDS Test::Without::Module and Pod::Constants PACKAGED.
+   -- David (hanska-guest)
+
   [ gregor herrmann ]
   * New upstream release.
   * Unsetting HTTP_PROXY and http_proxy in debian/rules no longer need,
@@ -13,8 +12,17 @@
     Vcs-Svn fields.
 
   [ David Paleino ]
-  * debian/control: Depends field wrapped
-  * debian/rules cleaned up
+  * debian/control:
+    - Depends field wrapped
+    - added dependency on quilt
+    - added dependencies on libtest-without-module-perl,
+      libpod-constants-perl and libtest-inline-perl.
+    - added myself to Uploaders
+  * debian/rules:
+    - some clean up
+    - added support to quilt
+  * debian/patches/* added - handle some special cases (see the comment
+    in the patch file)
 
  -- David Paleino <d.paleino at gmail.com>  Fri, 19 Oct 2007 23:11:35 +0200
 

Modified: trunk/libwww-mechanize-shell-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libwww-mechanize-shell-perl/debian/control?rev=8409&op=diff
==============================================================================
--- trunk/libwww-mechanize-shell-perl/debian/control (original)
+++ trunk/libwww-mechanize-shell-perl/debian/control Sat Oct 20 19:14:03 2007
@@ -6,10 +6,13 @@
  libhook-lexwrap-perl, libwww-perl, libwww-mechanize-perl,
  libwww-mechanize-formfiller-perl, libterm-shell-perl,
  libhtml-tokeparser-simple-perl, libhtml-tableextract-perl,
- libtest-mockobject-perl, libtest-pod-perl, libhtml-display-perl, netbase
+ libtest-mockobject-perl, libtest-pod-perl, libhtml-display-perl, netbase,
+ libtest-inline-perl, libtest-without-module-perl, libpod-constants-perl,
+ quilt
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Michael Mende <debian at menole.net>, Damyan Ivanov <dmn at debian.org>, 
- gregor herrmann <gregor+debian at comodo.priv.at>
+ gregor herrmann <gregor+debian at comodo.priv.at>,
+ David Paleino <d.paleino at gmail.com>
 Standards-Version: 3.7.2
 Homepage: http://search.cpan.org/dist/WWW-Mechanize-Shell/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libwww-mechanize-shell-perl/

Added: trunk/libwww-mechanize-shell-perl/debian/patches/01-fix_test_10.patch
URL: http://svn.debian.org/wsvn/trunk/libwww-mechanize-shell-perl/debian/patches/01-fix_test_10.patch?rev=8409&op=file
==============================================================================
--- trunk/libwww-mechanize-shell-perl/debian/patches/01-fix_test_10.patch (added)
+++ trunk/libwww-mechanize-shell-perl/debian/patches/01-fix_test_10.patch Sat Oct 20 19:14:03 2007
@@ -1,0 +1,18 @@
+# This is done because, for example, OpenDNS has a fallback for non-existent hosts.
+# 
+# This behaviour would have given a 200 code, where the module would expect a 500.
+#
+
+Index: libwww-mechanize-shell-perl/t/10-nonexistent-host.t
+===================================================================
+--- libwww-mechanize-shell-perl.orig/t/10-nonexistent-host.t	2007-10-20 21:07:17.000000000 +0200
++++ libwww-mechanize-shell-perl/t/10-nonexistent-host.t	2007-10-20 21:07:36.000000000 +0200
+@@ -16,7 +16,7 @@
+   *WWW::Mechanize::Shell::status = sub {};
+ };
+ 
+-$s->cmd('get http://nonexistent.host');
++$s->cmd('get http://999.999.999.999');
+ is($s->agent->res->code, 500, "LWP returns 500 for host not found");
+ 
+ };

Added: trunk/libwww-mechanize-shell-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libwww-mechanize-shell-perl/debian/patches/series?rev=8409&op=file
==============================================================================
--- trunk/libwww-mechanize-shell-perl/debian/patches/series (added)
+++ trunk/libwww-mechanize-shell-perl/debian/patches/series Sat Oct 20 19:14:03 2007
@@ -1,0 +1,1 @@
+01-fix_test_10.patch

Modified: trunk/libwww-mechanize-shell-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libwww-mechanize-shell-perl/debian/rules?rev=8409&op=diff
==============================================================================
--- trunk/libwww-mechanize-shell-perl/debian/rules (original)
+++ trunk/libwww-mechanize-shell-perl/debian/rules Sat Oct 20 19:14:03 2007
@@ -19,7 +19,9 @@
 
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
-build: build-stamp
+include /usr/share/quilt/quilt.make
+
+build: patch build-stamp
 build-stamp:
 	dh_testdir
 
@@ -29,7 +31,7 @@
 
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 




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