[SCM] Debian packaging of libdatetime-timezone-perl branch, master, updated. debian/1.40-1+2011l-4-g5cc4064
gregor herrmann
gregoa at debian.org
Tue Oct 18 15:20:51 UTC 2011
The following commit has been merged in the master branch:
commit 44151268044b2f748e309fd50235c81808327a1f
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Oct 18 16:57:32 2011 +0200
Add patch bahia.patch: add DST for America/Bahia (cf. #645638).
Taken from bahia.patch in the tzdata package.
diff --git a/debian/patches/bahia.patch b/debian/patches/bahia.patch
new file mode 100644
index 0000000..1d17a3f
--- /dev/null
+++ b/debian/patches/bahia.patch
@@ -0,0 +1,593 @@
+Description: add DST for America/Bahia
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/645638
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-10-18
+
+diff --git a/lib/DateTime/TimeZone/America/Bahia.pm b/lib/DateTime/TimeZone/America/Bahia.pm
+index 60422e5..23c5e06 100644
+--- a/lib/DateTime/TimeZone/America/Bahia.pm
++++ b/lib/DateTime/TimeZone/America/Bahia.pm
+@@ -3,14 +3,11 @@
+ # DateTime::TimeZone module distribution in the tools/ directory
+
+ #
+-# Generated from /tmp/huU6wrczd0/southamerica. Olson data version 2011i
++# Generated from debian/tzdata/southamerica. Olson data version 2011i
+ #
+ # Do not edit this file directly.
+ #
+ package DateTime::TimeZone::America::Bahia;
+-{
+- $DateTime::TimeZone::America::Bahia::VERSION = '1.40';
+-}
+
+ use strict;
+
+@@ -564,18 +561,486 @@ DateTime::TimeZone::NEG_INFINITY,
+ ],
+ [
+ 63200055600,
+-DateTime::TimeZone::INFINITY,
++63454417200,
+ 63200044800,
+-DateTime::TimeZone::INFINITY,
++63454406400,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63454417200,
++63465904800,
++63454410000,
++63465897600,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63465904800,
++63486471600,
++63465894000,
++63486460800,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63486471600,
++63496749600,
++63486464400,
++63496742400,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63496749600,
++63517921200,
++63496738800,
++63517910400,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63517921200,
++63528199200,
++63517914000,
++63528192000,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63528199200,
++63549370800,
++63528188400,
++63549360000,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63549370800,
++63560253600,
++63549363600,
++63560246400,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63560253600,
++63580820400,
++63560242800,
++63580809600,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63580820400,
++63591703200,
++63580813200,
++63591696000,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63591703200,
++63612270000,
++63591692400,
++63612259200,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63612270000,
++63623152800,
++63612262800,
++63623145600,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63623152800,
++63643719600,
++63623142000,
++63643708800,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63643719600,
++63654602400,
++63643712400,
++63654595200,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63654602400,
++63675774000,
++63654591600,
++63675763200,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63675774000,
++63686052000,
++63675766800,
++63686044800,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63686052000,
++63707223600,
++63686041200,
++63707212800,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63707223600,
++63717501600,
++63707216400,
++63717494400,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63717501600,
++63738673200,
++63717490800,
++63738662400,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63738673200,
++63749556000,
++63738666000,
++63749548800,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63749556000,
++63770122800,
++63749545200,
++63770112000,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63770122800,
++63781005600,
++63770115600,
++63780998400,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63781005600,
++63801572400,
++63780994800,
++63801561600,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63801572400,
++63813060000,
++63801565200,
++63813052800,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63813060000,
++63833022000,
++63813049200,
++63833011200,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63833022000,
++63843904800,
++63833014800,
++63843897600,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63843904800,
++63865076400,
++63843894000,
++63865065600,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63865076400,
++63875354400,
++63865069200,
++63875347200,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63875354400,
++63896526000,
++63875343600,
++63896515200,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63896526000,
++63907408800,
++63896518800,
++63907401600,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63907408800,
++63927975600,
++63907398000,
++63927964800,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63927975600,
++63938858400,
++63927968400,
++63938851200,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63938858400,
++63959425200,
++63938847600,
++63959414400,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63959425200,
++63970308000,
++63959418000,
++63970300800,
++-7200,
++1,
++'BRST'
++ ],
++ [
++63970308000,
++63990874800,
++63970297200,
++63990864000,
++-10800,
++0,
++'BRT'
++ ],
++ [
++63990874800,
++64001757600,
++63990867600,
++64001750400,
++-7200,
++1,
++'BRST'
++ ],
++ [
++64001757600,
++64022929200,
++64001746800,
++64022918400,
++-10800,
++0,
++'BRT'
++ ],
++ [
++64022929200,
++64033207200,
++64022922000,
++64033200000,
++-7200,
++1,
++'BRST'
++ ],
++ [
++64033207200,
++64054378800,
++64033196400,
++64054368000,
++-10800,
++0,
++'BRT'
++ ],
++ [
++64054378800,
++64064656800,
++64054371600,
++64064649600,
++-7200,
++1,
++'BRST'
++ ],
++ [
++64064656800,
++64085828400,
++64064646000,
++64085817600,
++-10800,
++0,
++'BRT'
++ ],
++ [
++64085828400,
++64096106400,
++64085821200,
++64096099200,
++-7200,
++1,
++'BRST'
++ ],
++ [
++64096106400,
++64117278000,
++64096095600,
++64117267200,
++-10800,
++0,
++'BRT'
++ ],
++ [
++64117278000,
++64128160800,
++64117270800,
++64128153600,
++-7200,
++1,
++'BRST'
++ ],
++ [
++64128160800,
++64148727600,
++64128150000,
++64148716800,
++-10800,
++0,
++'BRT'
++ ],
++ [
++64148727600,
++64160215200,
++64148720400,
++64160208000,
++-7200,
++1,
++'BRST'
++ ],
++ [
++64160215200,
++64180177200,
++64160204400,
++64180166400,
++-10800,
++0,
++'BRT'
++ ],
++ [
++64180177200,
++64191060000,
++64180170000,
++64191052800,
++-7200,
++1,
++'BRST'
++ ],
++ [
++64191060000,
++64212231600,
++64191049200,
++64212220800,
++-10800,
++0,
++'BRT'
++ ],
++ [
++64212231600,
++64222509600,
++64212224400,
++64222502400,
++-7200,
++1,
++'BRST'
++ ],
++ [
++64222509600,
++64243681200,
++64222498800,
++64243670400,
++-10800,
++0,
++'BRT'
++ ],
++ [
++64243681200,
++64254564000,
++64243674000,
++64254556800,
++-7200,
++1,
++'BRST'
++ ],
++ [
++64254564000,
++64275130800,
++64254553200,
++64275120000,
+ -10800,
+ 0,
+ 'BRT'
+ ],
+ ];
+
+-sub olson_version { '2011i' }
++sub olson_version { '2011i' }
+
+-sub has_dst_changes { 29 }
++sub has_dst_changes { 56 }
+
+ sub _max_year { 2021 }
+
+@@ -584,6 +1049,74 @@ sub _new_instance
+ return shift->_init( @_, spans => $spans );
+ }
+
++sub _last_offset { -10800 }
++
++my $last_observance = bless( {
++ 'format' => 'BR%sT',
++ 'gmtoff' => '-3:00',
++ 'local_start_datetime' => bless( {
++ 'formatter' => undef,
++ 'local_rd_days' => 734426,
++ 'local_rd_secs' => 3600,
++ 'offset_modifier' => 0,
++ 'rd_nanosecs' => 0,
++ 'tz' => bless( {
++ 'name' => 'floating',
++ 'offset' => 0
++ }, 'DateTime::TimeZone::Floating' ),
++ 'utc_rd_days' => 734426,
++ 'utc_rd_secs' => 3600,
++ 'utc_year' => 2012
++ }, 'DateTime' ),
++ 'offset_from_std' => 0,
++ 'offset_from_utc' => -10800,
++ 'until' => [],
++ 'utc_start_datetime' => bless( {
++ 'formatter' => undef,
++ 'local_rd_days' => 734426,
++ 'local_rd_secs' => 10800,
++ 'offset_modifier' => 0,
++ 'rd_nanosecs' => 0,
++ 'tz' => bless( {
++ 'name' => 'floating',
++ 'offset' => 0
++ }, 'DateTime::TimeZone::Floating' ),
++ 'utc_rd_days' => 734426,
++ 'utc_rd_secs' => 10800,
++ 'utc_year' => 2012
++ }, 'DateTime' )
++}, 'DateTime::TimeZone::OlsonDB::Observance' )
++;
++sub _last_observance { $last_observance }
++
++my $rules = [
++ bless( {
++ 'at' => '0:00',
++ 'from' => '2038',
++ 'in' => 'Feb',
++ 'letter' => '',
++ 'name' => 'Brazil',
++ 'offset_from_std' => 0,
++ 'on' => 'Sun>=15',
++ 'save' => '0',
++ 'to' => 'max',
++ 'type' => undef
++ }, 'DateTime::TimeZone::OlsonDB::Rule' ),
++ bless( {
++ 'at' => '0:00',
++ 'from' => '2008',
++ 'in' => 'Oct',
++ 'letter' => 'S',
++ 'name' => 'Brazil',
++ 'offset_from_std' => 3600,
++ 'on' => 'Sun>=15',
++ 'save' => '1:00',
++ 'to' => 'max',
++ 'type' => undef
++ }, 'DateTime::TimeZone::OlsonDB::Rule' )
++]
++;
++sub _rules { $rules }
+
+
+ 1;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0de852f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+bahia.patch
--
Debian packaging of libdatetime-timezone-perl
More information about the Pkg-perl-cvs-commits
mailing list