[libtimedate-perl] 01/03: drop dutch.patch, spanish.patch: never released, somehow bogus

Florian Schlichting fsfs at moszumanska.debian.org
Fri Nov 29 23:06:49 UTC 2013


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

fsfs pushed a commit to branch master
in repository libtimedate-perl.

commit ca5ea3483d65419460a87252d311ce414f8a0875
Author: Florian Schlichting <fsfs at debian.org>
Date:   Fri Nov 29 23:55:23 2013 +0100

    drop dutch.patch, spanish.patch: never released, somehow bogus
    
    - overall intention is unclear / what's the problem to be solved?
    - seem to mainly add capitalisation, which isn't necessarily correct
    - drop some language features like accents, language-specific ordinal
      suffix (1. 2. 3. whereas upstream has 1ro 2do 3ro for Spanish)
    - introduce errors (typos, package and filename mismatch)
    
    => probably not a good idea.
---
 debian/patches/dutch.patch   | 50 --------------------------------------------
 debian/patches/series        |  2 --
 debian/patches/spanish.patch | 39 ----------------------------------
 3 files changed, 91 deletions(-)

diff --git a/debian/patches/dutch.patch b/debian/patches/dutch.patch
deleted file mode 100644
index 69f60fe..0000000
--- a/debian/patches/dutch.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-Author: Pierre Pannetier <akelwood at yahoo.fr>
-Subject: update Dutch
-
---- a/lib/Date/Language/Dutch.pm
-+++ b/lib/Date/Language/Dutch.pm
-@@ -1,26 +1,22 @@
- ##
--## Dutch tables
--## Contributed by Johannes la Poutre <jlpoutre at corp.nl.home.com>
-+## Dutch tables
- ##
- 
--package Date::Language::Dutch;
-+package Date::Language::Netherland;
- 
- use Date::Language ();
- use vars qw(@ISA @DoW @DoWs @MoY @MoYs @AMPM @Dsuf %MoY %DoW $VERSION);
- @ISA = qw(Date::Language);
- $VERSION = "1.02";
- 
-- at MoY  = qw(januari februari maart april mei juni juli
--           augustus september oktober november december);
-- at MoYs = map(substr($_, 0, 3), @MoY);
--$MoYs[2] = 'mrt'; # mrt is more common (Frank Maas)
-- at DoW  = map($_ . "dag", qw(zon maan dins woens donder vrij zater));
-- at DoWs = map(substr($_, 0, 2), @DoW);
--
--# these aren't normally used...
-- at AMPM = qw(VM NM);
-- at Dsuf = ('e') x 31;
--
-+ at MoY  = qw(Januari Februari Maart April Mei Juni Juli Augustus September Oktober November December);
-+ at MoYs = qw(Jan Feb Maa Apr Mei Jun Jul Aug Sep Okt Nov Dec);
-+ at DoW  = qw(Maandag Dinsdag Woensdag Donderdag Vrijdag Zaterdag Zondag);
-+ at DoWs = qw(Maa Din Woe Don Vri Zat Zon);
-+
-+require Date::Language::English;
-+ at AMPM =   @{Date::Language::English::AMPM};
-+ at Dsuf =   @{Date::Language::English::Dsuf};
- 
- @MoY{@MoY}  = (0 .. scalar(@MoY));
- @MoY{@MoYs} = (0 .. scalar(@MoYs));
-@@ -35,6 +31,6 @@
- sub format_B { $MoY[$_[0]->[4]] }
- sub format_h { $MoYs[$_[0]->[4]] }
- sub format_p { $_[0]->[2] >= 12 ?  $AMPM[1] : $AMPM[0] }
--sub format_o { sprintf("%2de",$_[0]->[3]) }
-+sub format_o { sprintf("%2d.",$_[0]->[3]) }
- 
- 1;
diff --git a/debian/patches/series b/debian/patches/series
index 419ff4d..48ad9d6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1 @@
 fix-pod-errors.patch
-dutch.patch
-spanish.patch
diff --git a/debian/patches/spanish.patch b/debian/patches/spanish.patch
deleted file mode 100644
index 8984ba9..0000000
--- a/debian/patches/spanish.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Author: Pierre Pannetier <akelwood at yahoo.fr>
-Subject: update Spanish
-
---- a/lib/Date/Language/Spanish.pm
-+++ b/lib/Date/Language/Spanish.pm
-@@ -7,16 +7,17 @@
- use Date::Language ();
- use vars qw(@ISA @DoW @DoWs @MoY @MoYs @AMPM @Dsuf %MoY %DoW $VERSION);
- @ISA = qw(Date::Language);
--$VERSION = "1.00";
-+$VERSION = "1.02";
- 
-- at DoW = qw(domingo lunes martes mi�rcoles jueves viernes s�bado);
-- at MoY = qw(enero febrero marzo abril mayo junio
--	  julio agosto septiembre octubre noviembre diciembre);
-- at DoWs = map { substr($_,0,3) } @DoW;
-- at MoYs = map { substr($_,0,3) } @MoY;
-- at AMPM = qw(AM PM);
--
-- at Dsuf = ((qw(ro do ro to to to mo vo no mo)) x 3, 'ro');
-+ at MoY  = qw(Enero Febrero Marzo Abril Mayo Junio
-+  Julio Agosto Septiembre Octubre Noviembre Diciembrer);
-+ at MoYs = qw(Ene Feb Mar Abr May Jun Jul Ago Sep Oct Nov Dic);
-+ at DoW  = qw(Lunes Martes Miercoles Jueves Viernes Sabado Domingo);
-+ at DoWs = qw(Lun Mar Mie Jue Vie Sab Dom);
-+
-+require Date::Language::English;
-+ at AMPM =   @{Date::Language::English::AMPM};
-+ at Dsuf =   @{Date::Language::English::Dsuf};
- 
- @MoY{@MoY}  = (0 .. scalar(@MoY));
- @MoY{@MoYs} = (0 .. scalar(@MoYs));
-@@ -31,5 +32,6 @@
- sub format_B { $MoY[$_[0]->[4]] }
- sub format_h { $MoYs[$_[0]->[4]] }
- sub format_p { $_[0]->[2] >= 12 ?  $AMPM[1] : $AMPM[0] }
-+sub format_o { sprintf("%2d.",$_[0]->[3]) }
- 
- 1;

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



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