[libgedcom-perl] 03/06: Drop 0001-Make-the-tests-pass-by-ignoring-AFT-in-dates.patch

gregor herrmann gregoa at debian.org
Sat Oct 29 18:27:54 UTC 2016


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

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

commit 2d344896a3bb3196c2c67c65f3750a87bd0014b5
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Oct 29 20:24:37 2016 +0200

    Drop 0001-Make-the-tests-pass-by-ignoring-AFT-in-dates.patch
    
    which was cherry-picked from upstream Git.
---
 ...e-the-tests-pass-by-ignoring-AFT-in-dates.patch | 36 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 37 deletions(-)

diff --git a/debian/patches/0001-Make-the-tests-pass-by-ignoring-AFT-in-dates.patch b/debian/patches/0001-Make-the-tests-pass-by-ignoring-AFT-in-dates.patch
deleted file mode 100644
index 3619f4c..0000000
--- a/debian/patches/0001-Make-the-tests-pass-by-ignoring-AFT-in-dates.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From d350ade3f32275f739ad1878d7ee0dab9831bcdf Mon Sep 17 00:00:00 2001
-From: Tudor Constantin <tudorconstantin at gmail.com>
-Date: Sun, 3 May 2015 10:16:13 +0300
-Subject: [PATCH] Make the tests pass by ignoring AFT in dates
-
-Bug: https://github.com/pjcj/Gedcom.pm/issues/5
-Bug-Debian: https://bugs.debian.org/795206
-Origin: upstream, https://github.com/pjcj/Gedcom.pm/commit/42eee593494b50f8c21451df5e5f9e96c0dd6411
----
- lib/Gedcom/Record.pm | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/lib/Gedcom/Record.pm b/lib/Gedcom/Record.pm
-index 1ecc84e..769c7d6 100644
---- a/lib/Gedcom/Record.pm
-+++ b/lib/Gedcom/Record.pm
-@@ -565,7 +565,15 @@ sub normalise_dates
-       my @dates = split / or /, $self->{value};
-       for my $dt (@dates)
-       {
--        # don't change the date if it is just < 7 digits
-+        # Don't change the date if it looks like 'AFT 1989'.
-+        # AFT means AFTER and ParseDate returns the current date and the tests
-+        # are failing.
-+        # Current date can symbolize such an "after" date, but can also
-+        # symbolize a very specific point in time and that could also confuse
-+        # the user.
-+        next if $dt =~ /^AFT/;
-+
-+        # Don't change the date if it is just < 7 digits.
-         if ($dt !~ /^\s*(\d+)\s*$/ || length $1 > 6)
-         {
-           my $date = ParseDate($dt);
--- 
-2.9.3
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 77be91e..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-Make-the-tests-pass-by-ignoring-AFT-in-dates.patch

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



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