r9428 - in /branches/upstream/libdatetime-format-strptime-perl/current: Changes META.yml Makefile.PL 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:44:22 UTC 2007


Author: gregoa-guest
Date: Fri Nov 16 17:44:22 2007
New Revision: 9428

URL: http://svn.debian.org/wsvn/?sc=1&rev=9428
Log:
[svn-upgrade] Integrating new upstream version, libdatetime-format-strptime-perl (1.0702)

Modified:
    branches/upstream/libdatetime-format-strptime-perl/current/Changes
    branches/upstream/libdatetime-format-strptime-perl/current/META.yml
    branches/upstream/libdatetime-format-strptime-perl/current/Makefile.PL
    branches/upstream/libdatetime-format-strptime-perl/current/lib/DateTime/Format/Strptime.pm
    branches/upstream/libdatetime-format-strptime-perl/current/t/004_locale_defaults.t

Modified: branches/upstream/libdatetime-format-strptime-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libdatetime-format-strptime-perl/current/Changes?rev=9428&op=diff
==============================================================================
--- branches/upstream/libdatetime-format-strptime-perl/current/Changes (original)
+++ branches/upstream/libdatetime-format-strptime-perl/current/Changes Fri Nov 16 17:44:22 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: branches/upstream/libdatetime-format-strptime-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libdatetime-format-strptime-perl/current/META.yml?rev=9428&op=diff
==============================================================================
--- branches/upstream/libdatetime-format-strptime-perl/current/META.yml (original)
+++ branches/upstream/libdatetime-format-strptime-perl/current/META.yml Fri Nov 16 17:44:22 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: branches/upstream/libdatetime-format-strptime-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libdatetime-format-strptime-perl/current/Makefile.PL?rev=9428&op=diff
==============================================================================
--- branches/upstream/libdatetime-format-strptime-perl/current/Makefile.PL (original)
+++ branches/upstream/libdatetime-format-strptime-perl/current/Makefile.PL Fri Nov 16 17:44:22 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: branches/upstream/libdatetime-format-strptime-perl/current/lib/DateTime/Format/Strptime.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libdatetime-format-strptime-perl/current/lib/DateTime/Format/Strptime.pm?rev=9428&op=diff
==============================================================================
--- branches/upstream/libdatetime-format-strptime-perl/current/lib/DateTime/Format/Strptime.pm (original)
+++ branches/upstream/libdatetime-format-strptime-perl/current/lib/DateTime/Format/Strptime.pm Fri Nov 16 17:44:22 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: branches/upstream/libdatetime-format-strptime-perl/current/t/004_locale_defaults.t
URL: http://svn.debian.org/wsvn/branches/upstream/libdatetime-format-strptime-perl/current/t/004_locale_defaults.t?rev=9428&op=diff
==============================================================================
--- branches/upstream/libdatetime-format-strptime-perl/current/t/004_locale_defaults.t (original)
+++ branches/upstream/libdatetime-format-strptime-perl/current/t/004_locale_defaults.t Fri Nov 16 17:44:22 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