r15818 - in /trunk/libemail-valid-perl: debian/changelog debian/control debian/patches/ debian/patches/series debian/patches/test_net.patch debian/rules t/valid.t

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Feb 27 19:49:54 UTC 2008


Author: gregoa-guest
Date: Wed Feb 27 19:49:53 2008
New Revision: 15818

URL: http://svn.debian.org/wsvn/?sc=1&rev=15818
Log:
Split out patch against t/valid.t into test_net.patch; add quilt
  framework.

Added:
    trunk/libemail-valid-perl/debian/patches/
    trunk/libemail-valid-perl/debian/patches/series
    trunk/libemail-valid-perl/debian/patches/test_net.patch
Modified:
    trunk/libemail-valid-perl/debian/changelog
    trunk/libemail-valid-perl/debian/control
    trunk/libemail-valid-perl/debian/rules
    trunk/libemail-valid-perl/t/valid.t

Modified: trunk/libemail-valid-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libemail-valid-perl/debian/changelog?rev=15818&op=diff
==============================================================================
--- trunk/libemail-valid-perl/debian/changelog (original)
+++ trunk/libemail-valid-perl/debian/changelog Wed Feb 27 19:49:53 2008
@@ -9,8 +9,10 @@
   * Set debhelper compatibility level to 6.
   * debian/rules: update with the help of dh-make-perl's templates; don't
     install README any more (no useful information for users).
+  * Split out patch against t/valid.t into test_net.patch; add quilt
+    framework.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 27 Feb 2008 20:41:45 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 27 Feb 2008 20:47:30 +0100
 
 libemail-valid-perl (0.179-1) unstable; urgency=low
 

Modified: trunk/libemail-valid-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libemail-valid-perl/debian/control?rev=15818&op=diff
==============================================================================
--- trunk/libemail-valid-perl/debian/control (original)
+++ trunk/libemail-valid-perl/debian/control Wed Feb 27 19:49:53 2008
@@ -1,7 +1,7 @@
 Source: libemail-valid-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6)
+Build-Depends: debhelper (>= 6), quilt (>= 0.40)
 Build-Depends-Indep: perl (>= 5.6.0-16), libmailtools-perl, libnet-dns-perl, libnet-domain-tld-perl (>= 1.65-2), netbase, libtest-pod-coverage-perl, libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Standards-Version: 3.7.3

Added: trunk/libemail-valid-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libemail-valid-perl/debian/patches/series?rev=15818&op=file
==============================================================================
--- trunk/libemail-valid-perl/debian/patches/series (added)
+++ trunk/libemail-valid-perl/debian/patches/series Wed Feb 27 19:49:53 2008
@@ -1,0 +1,1 @@
+test_net.patch

Added: trunk/libemail-valid-perl/debian/patches/test_net.patch
URL: http://svn.debian.org/wsvn/trunk/libemail-valid-perl/debian/patches/test_net.patch?rev=15818&op=file
==============================================================================
--- trunk/libemail-valid-perl/debian/patches/test_net.patch (added)
+++ trunk/libemail-valid-perl/debian/patches/test_net.patch Wed Feb 27 19:49:53 2008
@@ -1,0 +1,16 @@
+--- libemail-valid-perl.orig/t/valid.t
++++ libemail-valid-perl/t/valid.t
+@@ -85,8 +85,11 @@
+ );
+ 
+ SKIP: {
+-  skip "your dns appears missing or failing to resolve", 2
+-    unless $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1);
++  skip "Net::DNS not available or network down", 2
++    unless eval { require Net::DNS; 1; } && Net::DNS::mx('debian.org');
++
++#  skip "your dns appears missing or failing to resolve", 2
++#    unless $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1);
+ 
+   ok(
+     $v->address(-address => 'blort at aol.com', -mxcheck => 1),

Modified: trunk/libemail-valid-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libemail-valid-perl/debian/rules?rev=15818&op=diff
==============================================================================
--- trunk/libemail-valid-perl/debian/rules (original)
+++ trunk/libemail-valid-perl/debian/rules Wed Feb 27 19:49:53 2008
@@ -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.
@@ -20,7 +22,7 @@
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
 	# Add commands to compile the package here
@@ -30,7 +32,7 @@
 
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 

Modified: trunk/libemail-valid-perl/t/valid.t
URL: http://svn.debian.org/wsvn/trunk/libemail-valid-perl/t/valid.t?rev=15818&op=diff
==============================================================================
--- trunk/libemail-valid-perl/t/valid.t (original)
+++ trunk/libemail-valid-perl/t/valid.t Wed Feb 27 19:49:53 2008
@@ -85,11 +85,8 @@
 );
 
 SKIP: {
-  skip "Net::DNS not available or network down", 2
-    unless eval { require Net::DNS; 1; } && Net::DNS::mx('debian.org');
-    
-#  skip "your dns appears missing or failing to resolve", 2
-#    unless $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1);
+  skip "your dns appears missing or failing to resolve", 2
+    unless $v->address(-address=> 'devnull at pobox.com', -mxcheck => 1);
 
   ok(
     $v->address(-address => 'blort at aol.com', -mxcheck => 1),




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