Move Time::Local from lib to ext.
authorNicholas Clark <nick@ccl4.org>
Sun, 13 Sep 2009 16:11:45 +0000 (17:11 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 13 Sep 2009 16:11:45 +0000 (17:11 +0100)
MANIFEST
Porting/Maintainers.pl
ext/.gitignore
ext/Time-Local/lib/Time/Local.pm [moved from lib/Time/Local.pm with 100% similarity]
ext/Time-Local/t/Local.t [moved from lib/Time/Local.t with 98% similarity]
lib/.gitignore

index f2c9971..db6c4de 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -2857,6 +2857,8 @@ ext/Time-HiRes/HiRes.xs           Time::HiRes extension
 ext/Time-HiRes/Makefile.PL     Time::HiRes extension
 ext/Time-HiRes/t/HiRes.t       Test for Time::HiRes
 ext/Time-HiRes/typemap         Time::HiRes extension
+ext/Time-Local/lib/Time/Local.pm       Reverse translation of localtime, gmtime
+ext/Time-Local/t/Local.t               See if Time::Local works
 ext/Time-Piece/Changes         Time::Piece extension
 ext/Time-Piece/Makefile.PL     Time::Piece extension
 ext/Time-Piece/Piece.pm                Time::Piece extension
@@ -3483,8 +3485,6 @@ lib/Tie/SubstrHash.t              Test for Tie::SubstrHash
 lib/Time/gmtime.pm             By-name interface to Perl's builtin gmtime
 lib/Time/gmtime.t              Test for Time::gmtime
 lib/timelocal.pl               Perl library supporting inverse of localtime, gmtime
-lib/Time/Local.pm              Reverse translation of localtime, gmtime
-lib/Time/Local.t               See if Time::Local works
 lib/Time/localtime.pm          By-name interface to Perl's builtin localtime
 lib/Time/localtime.t           Test for Time::localtime
 lib/Time/tm.pm                 Internal object for Time::{gm,local}time
index a7e9ae3..d06dc74 100755 (executable)
@@ -1652,11 +1652,8 @@ use File::Glob qw(:case);
        {
        'MAINTAINER'    => 'drolsky',
        'DISTRIBUTION'  => 'DROLSKY/Time-Local-1.1901.tar.gz',
-       'FILES'         => q[lib/Time/Local.{pm,t}],
+       'FILES'         => q[ext/Time-Local],
        'EXCLUDED'      => [ qw(t/pod-coverage.t t/pod.t) ],
-       'MAP'           => { 'lib/' => 'lib/',
-                            't/'   => 'lib/Time/',
-                          },
        'CPAN'          => 1,
        'UPSTREAM'      => undef,
        },
index 0e157f2..a7fed71 100644 (file)
@@ -100,6 +100,7 @@ ppport.h
 /Tie-File/Makefile.PL
 /Tie-Memoize/Makefile.PL
 /Tie-RefHash/Makefile.PL
+/Time-Local/Makefile.PL
 
 # ignore all vim swap files but the one bundled in Module::Pluggable for testing
 *.swp
similarity index 98%
rename from lib/Time/Local.t
rename to ext/Time-Local/t/Local.t
index 3f48404..61a15a8 100644 (file)
@@ -1,12 +1,5 @@
 #!./perl
 
-BEGIN {
-  if ($ENV{PERL_CORE}){
-    chdir('t') if -d 't';
-    @INC = ('.', '../lib');
-  }
-}
-
 use strict;
 
 use Config;
index 523b247..473430b 100644 (file)
 /Tie/Memoize.pm
 /Tie/RefHash.pm
 /Time/HiRes.pm
+/Time/Local.pm
 /Time/Piece.pm
 /Time/Seconds.pm
 /Unicode/Normalize.pm