r9430 - in /trunk/libdatetime-format-strptime-perl: Changes META.yml Makefile.PL debian/changelog debian/control lib/DateTime/Format/Strptime.pm t/004_locale_defaults.t
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Fri Nov 16 17:49:40 UTC 2007
Author: gregoa-guest
Date: Fri Nov 16 17:49:40 2007
New Revision: 9430
URL: http://svn.debian.org/wsvn/?sc=1&rev=9430
Log:
New upstream release.
Modified:
trunk/libdatetime-format-strptime-perl/Changes
trunk/libdatetime-format-strptime-perl/META.yml
trunk/libdatetime-format-strptime-perl/Makefile.PL
trunk/libdatetime-format-strptime-perl/debian/changelog
trunk/libdatetime-format-strptime-perl/debian/control
trunk/libdatetime-format-strptime-perl/lib/DateTime/Format/Strptime.pm
trunk/libdatetime-format-strptime-perl/t/004_locale_defaults.t
Modified: trunk/libdatetime-format-strptime-perl/Changes
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-strptime-perl/Changes?rev=9430&op=diff
==============================================================================
--- trunk/libdatetime-format-strptime-perl/Changes (original)
+++ trunk/libdatetime-format-strptime-perl/Changes Fri Nov 16 17:49:40 2007
@@ -171,3 +171,20 @@
time zone identifier with %O. Note that this is a token
specifically added to Strptime and it WILL NOT WORK with
DateTime's strftime method.
+
+1.0701 2007-09-18
+ - The revised locale tests releasese
+ - Many people pointed out that while this module hadn't broken
+ the tests for the French locale had. This is due to a new
+ source for the data in DateTime::Locale.
+ - This version ONLY changes the tests and so it not a required
+ update.
+
+1.0702 2007-09-19
+ - YAML and POD
+ - Updated the META.yml file to have the correct 'resources'
+ and match the latest spec
+ - Updated the docus with a 'resources' section that has the
+ same information in it for readers of POD.
+ - This version ONLY changes the documentation and so it not a
+ required update.
Modified: trunk/libdatetime-format-strptime-perl/META.yml
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-strptime-perl/META.yml?rev=9430&op=diff
==============================================================================
--- trunk/libdatetime-format-strptime-perl/META.yml (original)
+++ trunk/libdatetime-format-strptime-perl/META.yml Fri Nov 16 17:49:40 2007
@@ -1,13 +1,24 @@
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: DateTime-Format-Strptime
-version: 1.0601
-version_from: lib/DateTime/Format/Strptime.pm
-installdirs: site
+--- #YAML:1.0
+meta-spec:
+ version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.3.html
+name: DateTime-Format-Strptime
+version: 1.0702
+abstract: Parse and format strp and strf time patterns
+author:
+ - Rick Measham <rickm at cpan.org>
+licence: perl
+distribution_type: module
requires:
- Params::Validate: 0.64
- DateTime: 0.1402
- DateTime::Locale: 0.02
- DateTime::TimeZone: 0.25
+ Params::Validate: 0.64
+ DateTime: 0.1402
+ DateTime::Locale: 0.35
+ DateTime::TimeZone: 0.25
+resources:
+ licence: http://dev.perl.org/licenses/
+ homepage: http://datetime-format-strptime.googlecode.com/
+ bugtracker: http://code.google.com/p/datetime-format-strptime/issues/list
+ repository: http://datetime-format-strptime.googlecode.com/svn/trunk/
+ MailingList: http://lists.cpan.org/showlist.cgi?name=datetime
+generated_by: Rick Measham <rickm at cpan.org>
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.12
Modified: trunk/libdatetime-format-strptime-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-strptime-perl/Makefile.PL?rev=9430&op=diff
==============================================================================
--- trunk/libdatetime-format-strptime-perl/Makefile.PL (original)
+++ trunk/libdatetime-format-strptime-perl/Makefile.PL Fri Nov 16 17:49:40 2007
@@ -2,10 +2,10 @@
print <<'EOF';
-----------------------------------------
- __ ___
- (_ _|_ ._ ._ | o ._ _ _
- __) |_ | |_) | | | | | (/_
- |
+ __ ___
+ (_ _|_ ._ ._ | o ._ _ _
+ __) |_ | |_) | | | | | (/_
+ |
-----------------------------------------
To run thousands of other tests (mainly
@@ -26,7 +26,7 @@
ABSTRACT => 'Parse and format strp and strf time patterns',
PREREQ_PM => {
'DateTime' => '0.1402',
- 'DateTime::Locale' => '0.02',
+ 'DateTime::Locale' => '0.35',
'DateTime::TimeZone' => '0.25',
'Params::Validate' => '0.64',
},
Modified: trunk/libdatetime-format-strptime-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-strptime-perl/debian/changelog?rev=9430&op=diff
==============================================================================
--- trunk/libdatetime-format-strptime-perl/debian/changelog (original)
+++ trunk/libdatetime-format-strptime-perl/debian/changelog Fri Nov 16 17:49:40 2007
@@ -1,19 +1,19 @@
-libdatetime-format-strptime-perl (1.0700-3) unstable; urgency=low
+libdatetime-format-strptime-perl (1.0702-1) UNRELEASED; urgency=low
+ [ Ernesto Hernández-Novich (USB) ]
+ * Updated Standards Version.
+ * Clean up debian/rules.
* Moved package into Debian Perl Pkg Project SVN.
* Wrap long fields in control file.
* Cleanup debian/rules.
* Fixed opyright file with a better URL.
* Fixed watch file.
- -- Ernesto Hernández-Novich (USB) <emhn at usb.ve> Thu, 15 Nov 2007 16:21:19 -0400
+ [ gregor herrmann ]
+ * New upstream release.
+ * Merge changelog entries.
-libdatetime-format-strptime-perl (1.0700-2) unstable; urgency=low
-
- * Updated Standards Version.
- * Clean up debian/rules.
-
- -- Ernesto Hernández-Novich <emhn at telcel.net.ve> Fri, 03 Nov 2006 18:09:11 -0400
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Fri, 16 Nov 2007 18:47:48 +0100
libdatetime-format-strptime-perl (1.0700-1) unstable; urgency=low
Modified: trunk/libdatetime-format-strptime-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-strptime-perl/debian/control?rev=9430&op=diff
==============================================================================
--- trunk/libdatetime-format-strptime-perl/debian/control (original)
+++ trunk/libdatetime-format-strptime-perl/debian/control Fri Nov 16 17:49:40 2007
@@ -5,7 +5,8 @@
Build-Depends-Indep: perl (>= 5.6.0-16), libdatetime-perl,
libdatetime-locale-perl, libdatetime-timezone-perl, libparams-validate-perl
Maintainer: Debian Pkg Perl <pkg-perl at lists.alioth.debian.org>
-Uploaders: Ernesto Hernández-Novich <emhn at telcel.net.ve>
+Uploaders: Ernesto Hernández-Novich <emhn at telcel.net.ve>,
+ gregor herrmann <gregor+debian at comodo.priv.at>
Homepage: http://search.cpan.org/~rickm/DateTime-Format-Strptime/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdatetime-format-strptime-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-format-strptime-perl/
Modified: trunk/libdatetime-format-strptime-perl/lib/DateTime/Format/Strptime.pm
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-strptime-perl/lib/DateTime/Format/Strptime.pm?rev=9430&op=diff
==============================================================================
--- trunk/libdatetime-format-strptime-perl/lib/DateTime/Format/Strptime.pm (original)
+++ trunk/libdatetime-format-strptime-perl/lib/DateTime/Format/Strptime.pm Fri Nov 16 17:49:40 2007
@@ -11,7 +11,7 @@
use vars qw( $VERSION @ISA @EXPORT @EXPORT_OK %ZONEMAP %FORMATS $CROAK $errmsg);
@ISA = 'Exporter';
-$VERSION = '1.0700';
+$VERSION = '1.0702';
@EXPORT_OK = qw( &strftime &strptime );
@EXPORT = ();
@@ -1146,31 +1146,39 @@
=back
-=head1 NOTES
+=head1 RESOURCES
=over 4
-=item * on_error
-
-Default behavior of this module is now to return undef on erroring.
+=item * Mailing List
+
+Support for this module is primarily provided via the DateTime
+Mailing List: C<datetime at perl.org>
+
+http://lists.cpan.org/showlist.cgi?name=datetime
+
+=item * Bugtracker
+
+For bug tracking and reporting, please use the google-code tracker
+rather than the RT interface linked at search.cpan.org
+
+http://code.google.com/p/datetime-format-strptime/issues/list
+
+=item * Homepage
+
+http://datetime-format-strptime.googlecode.com/
+
+=item * Subversion Repository
+
+The latest version is always available via subversion:
+
+http://datetime-format-strptime.googlecode.com/svn/trunk/
=back
-=head1 SUPPORT
-
-Support for this module is provided via the datetime at perl.org email
-list. See http://lists.perl.org/ for more details.
-
-Alternatively, log them via the CPAN RT system via the web or email:
-
- bug-datetime-format-strptime at rt.cpan.org
-
-This makes it much easier for me to track things and thus means your
-problem is less likely to be neglected.
-
=head1 LICENSE AND COPYRIGHT
-Copyright E<169> Rick Measham, 2003-2005. All rights reserved.
+Copyright E<169> Rick Measham, 2003-2007. All rights reserved.
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
Modified: trunk/libdatetime-format-strptime-perl/t/004_locale_defaults.t
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-strptime-perl/t/004_locale_defaults.t?rev=9430&op=diff
==============================================================================
--- trunk/libdatetime-format-strptime-perl/t/004_locale_defaults.t (original)
+++ trunk/libdatetime-format-strptime-perl/t/004_locale_defaults.t Fri Nov 16 17:49:40 2007
@@ -29,18 +29,18 @@
['en_GB', '%c', '31 Dec 1998 12:34:56'],
# French
#);my @tests = (
- ['fr', '%x', '31 déc. 98'],
+ ['fr', '%x', '31 déc 1998'],
['fr', '%X', '12:34:56'],
- ['fr', '%c', '31 déc. 98 12:34:56'],
+ ['fr', '%c', '31 déc 1998 12:34:56'],
);
foreach (@tests) {
my ($locale, $pattern, $data) = @$_;
-
+
$object->locale($locale);
$object->pattern($pattern);
my $datetime = $object->parse_datetime( $data );
-
+
if ($pattern eq '%x' or $pattern eq '%c') {
is($datetime->year, 1998, $locale. ' : ' . $pattern . ' : year' );
is($datetime->month, 12, $locale. ' : ' . $pattern . ' : month' );
More information about the Pkg-perl-cvs-commits
mailing list