[libdatetime-timezone-perl] 02/13: Remove OSPrereqs entirely
gregor herrmann
gregoa at debian.org
Wed Apr 15 19:03:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to annotated tag v1.84
in repository libdatetime-timezone-perl.
commit a1c121265f8d81fd235e6e754c102514d69ec121
Author: Dave Rolsky <autarch at urth.org>
Date: Sat Jan 17 10:48:43 2015 -0600
Remove OSPrereqs entirely
This eliminates circular dependencies
---
Changes | 5 +++++
dist.ini | 6 ------
lib/DateTime/TimeZone.pm | 13 +++++++++++--
3 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/Changes b/Changes
index eba0b5c..647b394 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
{{$NEXT}}
+- Removed the per-OS prereqs on DateTime::TimeZone::HPUX and
+ DateTime::TimeZone::Local::Win32. This gets rid of circular dependencies
+ between those distros and this one. RT #101588, 101589 and 68231.
+
+
1.83 2014-12-24
- The last release did not include any of the generated zone files. Oops.
diff --git a/dist.ini b/dist.ini
index af4b1fe..72c745b 100644
--- a/dist.ini
+++ b/dist.ini
@@ -41,9 +41,3 @@ stopwords_file = .stopwords
[Prereqs / DevelopRequires]
Test::Output = 0
Test::Taint = 0
-
-[OSPrereqs / MSWin32]
-DateTime::TimeZone::Local::Win32 = 0
-
-[OSPrereqs / hpux]
-DateTime::TimeZone::HPUX = 0
diff --git a/lib/DateTime/TimeZone.pm b/lib/DateTime/TimeZone.pm
index 57a547f..d2acfbd 100644
--- a/lib/DateTime/TimeZone.pm
+++ b/lib/DateTime/TimeZone.pm
@@ -571,11 +571,20 @@ This class is the base class for all time zone objects. A time zone
is represented internally as a set of observances, each of which
describes the offset from GMT for a given time period.
-Note that without the C<DateTime.pm> module, this module does not do
-much. It's primary interface is through a C<DateTime> object, and
+Note that without the L<DateTime> module, this module does not do
+much. It's primary interface is through a L<DateTime> object, and
most users will not need to directly use C<DateTime::TimeZone>
methods.
+=head2 Special Case Platforms
+
+If you are on the Win32 platform, you will want to also install
+L<DateTime::TimeZone::Local::Win32>. This will enable you to specify a
+time zone of C<'local'> when creating a L<DateTime> object.
+
+If you are oin HPUX, install L<DateTime::TimeZone::HPUX>. This provides
+support for HPUX style time zones like C<'MET-1METDST'>.
+
=head1 USAGE
This class has the following methods:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdatetime-timezone-perl.git
More information about the Pkg-perl-cvs-commits
mailing list