r50611 - in /trunk/libtimedate-perl: ChangeLog MANIFEST META.yml Makefile.PL SIGNATURE debian/README.Maintainer debian/changelog debian/control debian/copyright debian/rules lib/Date/Format.pm lib/Date/Parse.pm t/cpanrt.t
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sat Jan 9 23:46:00 UTC 2010
Author: jawnsy-guest
Date: Sat Jan 9 23:45:51 2010
New Revision: 50611
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=50611
Log:
* New upstream release
* Rename package name in changelog
* Add myself to Uploaders and Copyright
* Separate arch-dependent and independent dependencies
* Rewrite control description
* Use debhelper instead of CDBS for building
* Refresh copyright information to new DEP5 format
Removed:
trunk/libtimedate-perl/debian/README.Maintainer
Modified:
trunk/libtimedate-perl/ChangeLog
trunk/libtimedate-perl/MANIFEST
trunk/libtimedate-perl/META.yml
trunk/libtimedate-perl/Makefile.PL
trunk/libtimedate-perl/SIGNATURE
trunk/libtimedate-perl/debian/changelog
trunk/libtimedate-perl/debian/control
trunk/libtimedate-perl/debian/copyright
trunk/libtimedate-perl/debian/rules
trunk/libtimedate-perl/lib/Date/Format.pm
trunk/libtimedate-perl/lib/Date/Parse.pm
trunk/libtimedate-perl/t/cpanrt.t
Modified: trunk/libtimedate-perl/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/ChangeLog?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/ChangeLog (original)
+++ trunk/libtimedate-perl/ChangeLog Sat Jan 9 23:45:51 2010
@@ -1,3 +1,9 @@
+1.20 -- Sat Dec 12 06:38:14 CST 2009
+
+ * Typo => s/timezome/timezone/ [yanick]
+ * RT#52387 Fix %s formating to use timelocal when no timezone is given
+ * RT#51664 fix str2time('16 Oct 09') to not give a negative result
+
1.19 -- Fri Sep 25 13:59:41 CDT 2009
* Replace Date::Language::Hungarian with version from CPAN by Lee Goddard
Modified: trunk/libtimedate-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/MANIFEST?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/MANIFEST (original)
+++ trunk/libtimedate-perl/MANIFEST Sat Jan 9 23:45:51 2010
@@ -36,7 +36,7 @@
lib/Date/Parse.pm
lib/Time/Zone.pm
Makefile.PL
-MANIFEST
+MANIFEST This list of files
README
t/cpanrt.t
t/date.t
Modified: trunk/libtimedate-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/META.yml?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/META.yml (original)
+++ trunk/libtimedate-perl/META.yml Sat Jan 9 23:45:51 2010
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: TimeDate
-version: 1.19
+version: 1.20
abstract: ~
author:
- Graham Barr <gbarr at pobox.com>
Modified: trunk/libtimedate-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/Makefile.PL?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/Makefile.PL (original)
+++ trunk/libtimedate-perl/Makefile.PL Sat Jan 9 23:45:51 2010
@@ -9,7 +9,7 @@
WriteMakefile(
NAME => 'TimeDate',
AUTHOR => 'Graham Barr <gbarr at pobox.com>',
- VERSION => '1.19',
+ VERSION => '1.20',
(eval { ExtUtils::MakeMaker->VERSION(6.21) } ? (LICENSE => 'perl') : ()),
( eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (
META_MERGE => {
Modified: trunk/libtimedate-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/SIGNATURE?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/SIGNATURE (original)
+++ trunk/libtimedate-perl/SIGNATURE Sat Jan 9 23:45:51 2010
@@ -14,12 +14,12 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 1cfbd5694da3169c17b3648846c9f5e7223f4d26 ChangeLog
-SHA1 205981f550ad232f94d59d8eb79c5e6ecbe8f48d MANIFEST
-SHA1 8e0c2e200e666305e860ca20930ddf7f285825f3 META.yml
-SHA1 6f6d8f3971192224df63d9864dc341078c15286d Makefile.PL
+SHA1 036da21b212a902ecb9d195565bbcd4c51bccecc ChangeLog
+SHA1 efb2a90cd095d97ec148e6263fb921f560cfffb5 MANIFEST
+SHA1 4efed966d43e74a6f53ef2bcdbfc4de05b92035f META.yml
+SHA1 e111caf8b7da35935fa7004a17045cab55278445 Makefile.PL
SHA1 80cff3b1f65e7df95eaa1a992b688c2c5e1d2b6e README
-SHA1 6823bd5e2e3cac12b7b9870d9840f4606f3eb422 lib/Date/Format.pm
+SHA1 5ca10e18e888daf0883de553219f42ca2422763f lib/Date/Format.pm
SHA1 08342e72298e839f21236dff7555f2505f928d32 lib/Date/Language.pm
SHA1 50703aeade60a04398517416d30a2d8918c95578 lib/Date/Language/Afar.pm
SHA1 f9450ca0047510a4102c32cc4e20a435cdd85b31 lib/Date/Language/Amharic.pm
@@ -53,17 +53,17 @@
SHA1 20fc6beb32657ca147719f713ff816bbb696da20 lib/Date/Language/TigrinyaEritrean.pm
SHA1 30f77a43a000f2ce3d22b1b633261a20289025aa lib/Date/Language/TigrinyaEthiopian.pm
SHA1 54288741c52b09ee92b0487848df74a08cdc3b9e lib/Date/Language/Turkish.pm
-SHA1 dbcc4a151b1c558b32ed61fa7ee98e0fb47b9d7f lib/Date/Parse.pm
+SHA1 b10ec48bd01b73638e4c6dce3f554e4c77267b6c lib/Date/Parse.pm
SHA1 394c7d372c25107ba5151ceca44c0599188907c7 lib/Time/Zone.pm
-SHA1 62465108c0d5fc14e08ae41e2f963c4d9074b1d6 t/cpanrt.t
+SHA1 ee65cf5b634d907c4cc2d414e49c06175461e6ac t/cpanrt.t
SHA1 7b16580497a96a4bc551b87b8b97ec89331e81f8 t/date.t
SHA1 bf6f4a7c599485ab11779c99fc821378e547d26d t/format.t
SHA1 acef4dd152cd391a3e7a7945c8405a50d965f335 t/getdate.t
SHA1 501dcb487e33f6b2d4577ef2e6e5f67f038d3c04 t/lang.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (Darwin)
+Version: GnuPG v1.4.10 (Darwin)
-iEYEARECAAYFAkq9E3QACgkQR0BL4gbYw3QQYACfQg56MxwRuw6XPWOfpumki+CN
-CWAAn1WM3GKmUyJdxf9g95yvZl552Tg0
-=2lbe
+iEYEARECAAYFAksjjt4ACgkQR0BL4gbYw3RCKgCePxf2QrH/3uvOofKewESV0zto
+t+sAnA5dGEi945ziAfAkLyFUhIMWnm7U
+=GqfE
-----END PGP SIGNATURE-----
Modified: trunk/libtimedate-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/debian/changelog?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/debian/changelog (original)
+++ trunk/libtimedate-perl/debian/changelog Sat Jan 9 23:45:51 2010
@@ -1,4 +1,13 @@
-timedate (1.1900-2) UNRELEASED; urgency=low
+libtimedate-perl (1.2000-1) UNRELEASED; urgency=low
+
+ [ Jonathan Yu ]
+ * New upstream release
+ * Rename package name in changelog
+ * Add myself to Uploaders and Copyright
+ * Separate arch-dependent and independent dependencies
+ * Rewrite control description
+ * Use debhelper instead of CDBS for building
+ * Refresh copyright information to new DEP5 format
[ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
@@ -18,10 +27,7 @@
Uploaders.
* Rename source package to libtimedate-perl.
- [ Jonathan Yu ]
- * Update debian/watch file
-
- -- Jonathan Yu <jawnsy at cpan.org> Sat, 09 Jan 2010 18:33:55 -0500
+ -- Jonathan Yu <jawnsy at cpan.org> Sat, 09 Jan 2010 18:38:01 -0500
timedate (1.1900-1) unstable; urgency=low
Modified: trunk/libtimedate-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/debian/control?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/debian/control (original)
+++ trunk/libtimedate-perl/debian/control Sat Jan 9 23:45:51 2010
@@ -1,10 +1,11 @@
Source: libtimedate-perl
Section: perl
Priority: optional
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Christian Hammers <ch at debian.org>,
+Uploaders: Christian Hammers <ch at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
gregor herrmann <gregoa at debian.org>
-Build-Depends: debhelper (>= 7), cdbs, perl (>= 5.8)
Standards-Version: 3.8.3
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtimedate-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtimedate-perl/
@@ -16,11 +17,10 @@
Provides: timedate
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}
-Description: Time and date functions for Perl
- The Date::Parse module can parse dates in a wide variety of input
- formats, and many languages, though it is limited to only parsing
- absolute dates. To parse relative dates, try Time::ParseDate.
+Description: collection of modules to manipulate date/time information
+ TimeDate is a collection of Perl modules useful for manipulating date and
+ time information. Date::Parse can parse absolute date specifications in a
+ wide variety of input formats and many languages (via Date::Language).
.
- This package also includes Date::Format, which can format dates into
- strings, and Time::Zone, which can contains miscellaneous timezone
- functions.
+ This package also includes Date::Format, which can format dates into strings,
+ as well as Time::Zone, which contains miscellaneous time zone functions.
Modified: trunk/libtimedate-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/debian/copyright?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/debian/copyright (original)
+++ trunk/libtimedate-perl/debian/copyright Sat Jan 9 23:45:51 2010
@@ -1,16 +1,33 @@
-Take a look into the changelog.Debian.gz for the maintainers of this package.
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59
+Maintainer: Graham Barr <gbarr at pobox.com>
+Source: http://search.cpan.org/dist/TimeDate/
+Name: TimeDate
-It was downloaded from CPAN, ftp://ftp.uni-hamburg.de/pub/soft/lang/perl/CPAN/
-modules/by-module/Time/TimeDate-*.tar.gz.
-Look at http://www.perl.com/CPAN/CPAN.html for other mirrors.
+Files: *
+Copyright: 1995-2009, Graham Barr <gbarr at pobox.com>
+License: Artistic or GPL-1+
-The upstream author is: <gbarr at pobox.com> (Graham Barr)
+Files: debian/*
+Copyright: 2010, Jonathan Yu <jawnsy at cpan.org>
+ 1999-2009, Christian Hammers <ch at debian.org>
+ 2007, Joey Hess <joeyh at debian.org>
+ 1999, Raphael Hertzog <rhertzog at hrnet.fr>
+ 1997-1999, Christian Leutloff <leutloff at debian.org>
+License: Artistic or GPL-1+
-Copyright:
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian GNU/Linux systems, the complete text of the Artistic License
+ can be found in `/usr/share/common-licenses/Artistic'
-Copyright 1996 Graham Barr. All rights reserved.
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL'
-You may distribute under the terms of either the GNU General Public
-License or the Artistic License, as specified in the Perl README file.
-You can find the license texts in /usr/share/common-licenses/ and
-/usr/share/doc/perl/copyright.
Modified: trunk/libtimedate-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/debian/rules?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/debian/rules (original)
+++ trunk/libtimedate-perl/debian/rules Sat Jan 9 23:45:51 2010
@@ -1,6 +1,4 @@
#!/usr/bin/make -f
-# Put perlmodule.mk last to dh_clean temporary files not in MANIFEST
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/perlmodule.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+%:
+ dh $@
Modified: trunk/libtimedate-perl/lib/Date/Format.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/lib/Date/Format.pm?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/lib/Date/Format.pm (original)
+++ trunk/libtimedate-perl/lib/Date/Format.pm Sat Jan 9 23:45:51 2010
@@ -8,7 +8,7 @@
use vars qw(@EXPORT @ISA $VERSION);
require Exporter;
-$VERSION = "2.23";
+$VERSION = "2.24";
@ISA = qw(Exporter);
@EXPORT = qw(time2str strftime ctime asctime);
@@ -215,7 +215,7 @@
sub format_M { sprintf("%02d",$_[0]->[1]) }
sub format_q { sprintf("%01d",int($_[0]->[4] / 3) + 1) }
sub format_s {
- $epoch = timegm(@{$_[0]}[0..5])
+ $epoch = timelocal(@{$_[0]}[0..5])
unless defined $epoch;
sprintf("%d",$epoch)
}
Modified: trunk/libtimedate-perl/lib/Date/Parse.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/lib/Date/Parse.pm?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/lib/Date/Parse.pm (original)
+++ trunk/libtimedate-perl/lib/Date/Parse.pm Sat Jan 9 23:45:51 2010
@@ -15,7 +15,7 @@
@ISA = qw(Exporter);
@EXPORT = qw(&strtotime &str2time &strptime);
-$VERSION = "2.29";
+$VERSION = "2.30";
my %month = (
january => 0,
@@ -261,7 +261,7 @@
if (defined $zone) {
$result = eval {
local $SIG{__DIE__} = sub {}; # Ick!
- timegm($ss,$mm,$hh,$day,$month,$year+1900);
+ timegm($ss,$mm,$hh,$day,$month,$year);
};
return undef
if !defined $result
@@ -273,7 +273,7 @@
else {
$result = eval {
local $SIG{__DIE__} = sub {}; # Ick!
- timelocal($ss,$mm,$hh,$day,$month,$year+1900);
+ timelocal($ss,$mm,$hh,$day,$month,$year);
};
return undef
if !defined $result
@@ -312,7 +312,7 @@
C<str2time> parses C<DATE> and returns a unix time value, or undef upon failure.
C<ZONE>, if given, specifies the timezone to assume when parsing if the
-date string does not specify a timezome.
+date string does not specify a timezone.
=item strptime(DATE [, ZONE])
Modified: trunk/libtimedate-perl/t/cpanrt.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtimedate-perl/t/cpanrt.t?rev=50611&op=diff
==============================================================================
--- trunk/libtimedate-perl/t/cpanrt.t (original)
+++ trunk/libtimedate-perl/t/cpanrt.t Sat Jan 9 23:45:51 2010
@@ -1,7 +1,7 @@
-use Date::Format qw(time2str);
-use Date::Parse qw(strptime);
+use Date::Format qw(time2str strftime);
+use Date::Parse qw(strptime str2time);
-print "1..5\n";
+print "1..8\n";
my $i = 1;
@@ -40,4 +40,16 @@
print "ok ", $i++, "\n";
}
+{ # [rt.cpan.org #52387] seconds since the Epoch, UCT
+ my $time = time;
+ my @lt = localtime(time);
+ print "not " unless strftime("%s", @lt) eq $time;
+ print "ok ", $i++, "\n";
+ print "not " unless time2str("%s",$time) eq $time;
+ print "ok ", $i++, "\n";
+}
+{ # [rt.cpan.org #51664] Change in str2time behaviour between 1.16 and 1.19
+ print "not " if str2time('16 Oct 09') < 0;
+ print "ok ", $i++, "\n";
+}
More information about the Pkg-perl-cvs-commits
mailing list