[SCM] Debian packaging of libemail-valid-perl branch, master, updated. debian/0.187-2-6-g689d09b
Salvatore Bonaccorso
carnil at debian.org
Fri Mar 16 16:07:25 UTC 2012
The following commit has been merged in the master branch:
commit b38acda8b5c3939bd60a5bddcb7366a784e61298
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Fri Mar 16 17:05:45 2012 +0100
Drop email_valid_0-187-bug75736.patch patch
Patch was applied upstream.
diff --git a/debian/patches/email_valid_0-187-bug75736.patch b/debian/patches/email_valid_0-187-bug75736.patch
deleted file mode 100644
index 7d08c22..0000000
--- a/debian/patches/email_valid_0-187-bug75736.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Description: Handle valid '0 at example.com' addresses
-Origin: https://rt.cpan.org/Ticket/Attachment/1050014/548955/email_valid_0-187-bug75736.patch
-Bug: https://rt.cpan.org/Public/Bug/Display.html?id=75736
-Bug-Debian: http://bugs.debian.org/663663
-Forwarded: not-needed
-Author: Steve Bertrand <steve.bertrand at gmail.com>
-Last-Update: 2012-03-14
-
---- a/lib/Email/Valid.pm
-+++ b/lib/Email/Valid.pm
-@@ -286,7 +286,7 @@
- sub _valid_local_part {
- my ($self, $localpart) = @_;
-
-- return 0 unless $localpart and length $localpart <= 64;
-+ return 0 unless defined $localpart and length $localpart <= 64;
-
- return 1;
- }
---- a/t/valid.t
-+++ b/t/valid.t
-@@ -1,7 +1,7 @@
- #!perl
- use strict;
-
--use Test::More tests => 31;
-+use Test::More tests => 33;
-
- BEGIN {
- use_ok('Email::Valid');
-@@ -80,6 +80,18 @@
- "space between @ and domain is valid",
- );
-
-+is(
-+ $v->address(-address => '1 at example.com', -localpart => 1),
-+ '1 at example.com',
-+ "localpart in true context succeeds",
-+);
-+
-+is(
-+ $v->address(-address => '0 at example.com', -localpart => 1),
-+ '0 at example.com',
-+ "localpart in false context is defined (bug 75736)",
-+);
-+
- ok(
- $v->address('-dashy at example.net'),
- 'an email can start with a dash',
diff --git a/debian/patches/series b/debian/patches/series
index 0781622..cacfa0c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
test_net.patch
-email_valid_0-187-bug75736.patch
--
Debian packaging of libemail-valid-perl
More information about the Pkg-perl-cvs-commits
mailing list