[libhttp-cookiejar-perl] 05/12: Drop use_test-mocktime.patch, not needed anymore.

gregor herrmann gregoa at debian.org
Sun Oct 18 15:07:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libhttp-cookiejar-perl.

commit dfdec93c3c60d6f25b40894b0dc3380ce7f10e23
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Oct 18 16:56:45 2015 +0200

    Drop use_test-mocktime.patch, not needed anymore.
    
    Also drop build dependency on libtest-mocktime-perl.
---
 debian/control                         |  1 -
 debian/patches/series                  |  1 -
 debian/patches/use_test-mocktime.patch | 26 --------------------------
 3 files changed, 28 deletions(-)

diff --git a/debian/control b/debian/control
index 7d23fcf..cf1c26b 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,6 @@ Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: libhttp-date-perl,
                      libtest-deep-perl,
                      libtest-requires-perl,
-                     libtest-mocktime-perl,
                      liburi-perl,
                      libwww-perl,
                      perl (>= 5.13.4) | libtest-simpple-perl (>= 0.96),
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 2272c68..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-use_test-mocktime.patch
diff --git a/debian/patches/use_test-mocktime.patch b/debian/patches/use_test-mocktime.patch
deleted file mode 100644
index 4600683..0000000
--- a/debian/patches/use_test-mocktime.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Description: Time::Mock is not packaged, Test::MockTime is and seems to work as well ...
-Origin: vendor
-Forwarded: not-needed
-Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2014-03-02
-
---- a/t/sort.t
-+++ b/t/sort.t
-@@ -3,7 +3,7 @@
- use warnings;
- use Test::More 0.96;
- use Test::Deep '!blessed';
--use Time::Mock;
-+use Test::MockTime;
- 
- use HTTP::CookieJar;
- 
-@@ -32,7 +32,7 @@
-     my $jar    = HTTP::CookieJar->new;
-     my $offset = 0;
-     for my $cookie ( @{ $c->{cookies} } ) {
--        Time::Mock->offset($offset);
-+        Test::MockTime::set_relative_time($offset);
-         $jar->add(@$cookie);
-         $offset += 10;
-     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-cookiejar-perl.git



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