summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-13 17:11:45 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-13 17:11:45 +0100
commit0c5ae3ee15a49532373833c713da3041b693b8cc (patch)
treedb9e802037a195cebe293f8c3d6df72414c9725e
parentd298f468fca65d287753530a975a3d396dd25e1d (diff)
downloadperl-0c5ae3ee15a49532373833c713da3041b693b8cc.tar.gz
Move Time::Local from lib to ext.
-rw-r--r--MANIFEST4
-rwxr-xr-xPorting/Maintainers.pl5
-rw-r--r--ext/.gitignore1
-rw-r--r--ext/Time-Local/lib/Time/Local.pm (renamed from lib/Time/Local.pm)0
-rw-r--r--ext/Time-Local/t/Local.t (renamed from lib/Time/Local.t)7
-rw-r--r--lib/.gitignore1
6 files changed, 5 insertions, 13 deletions
diff --git a/MANIFEST b/MANIFEST
index f2c99719ca..db6c4de680 100644
--- 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
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index a7e9ae376f..d06dc74aed 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -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,
},
diff --git a/ext/.gitignore b/ext/.gitignore
index 0e157f2157..a7fed71802 100644
--- a/ext/.gitignore
+++ b/ext/.gitignore
@@ -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
diff --git a/lib/Time/Local.pm b/ext/Time-Local/lib/Time/Local.pm
index fe698d44e7..fe698d44e7 100644
--- a/lib/Time/Local.pm
+++ b/ext/Time-Local/lib/Time/Local.pm
diff --git a/lib/Time/Local.t b/ext/Time-Local/t/Local.t
index 3f48404b3c..61a15a8b16 100644
--- a/lib/Time/Local.t
+++ b/ext/Time-Local/t/Local.t
@@ -1,12 +1,5 @@
#!./perl
-BEGIN {
- if ($ENV{PERL_CORE}){
- chdir('t') if -d 't';
- @INC = ('.', '../lib');
- }
-}
-
use strict;
use Config;
diff --git a/lib/.gitignore b/lib/.gitignore
index 523b247138..473430b8da 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -337,6 +337,7 @@
/Tie/Memoize.pm
/Tie/RefHash.pm
/Time/HiRes.pm
+/Time/Local.pm
/Time/Piece.pm
/Time/Seconds.pm
/Unicode/Normalize.pm