Move Term::Cap from lib to ext
Steffen Mueller [Sun, 30 Aug 2009 12:48:53 +0000 (14:48 +0200)]
Remove PERL_CORE boilerplate in Term::Cap tests

MANIFEST
Porting/Maintainers.pl
ext/Term-Cap/Cap.pm [moved from lib/Term/Cap.pm with 100% similarity]
ext/Term-Cap/test.pl [moved from lib/Term/Cap.t with 98% similarity]

index 2fcf267..ddefe3d 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1297,6 +1297,8 @@ ext/Term-ANSIColor/ANSIColor.pm           Perl module supporting termcap usage
 ext/Term-ANSIColor/ChangeLog           Term::ANSIColor
 ext/Term-ANSIColor/README              Term::ANSIColor
 ext/Term-ANSIColor/t/basic.t           Tests for Term::ANSIColor
+ext/Term-Cap/Cap.pm                    Perl module supporting termcap usage
+ext/Term-Cap/test.pl                   See if Term::Cap works
 ext/Test-Harness/bin/prove             The prove harness utility
 ext/Test-Harness/Changes               Test::Harness change log
 ext/Test-Harness/lib/App/Prove.pm      Gubbins for the prove utility
@@ -3142,8 +3144,6 @@ lib/Symbol.t                      See if Symbol works
 lib/syslog.pl                  Perl library supporting syslogging
 lib/tainted.pl                 Old code for tainting
 lib/termcap.pl                 Perl library supporting termcap usage
-lib/Term/Cap.pm                        Perl module supporting termcap usage
-lib/Term/Cap.t                 See if Term::Cap works
 lib/Term/Complete.pm           A command completion subroutine
 lib/Term/Complete.t            See if Term::Complete works
 lib/Term/ReadLine.pm           Stub readline library
index 547d96c..30cab27 100755 (executable)
@@ -1644,11 +1644,7 @@ package Maintainers;
        {
        'MAINTAINER'    => 'jstowe',
        'DISTRIBUTION'  => 'JSTOWE/Term-Cap-1.12.tar.gz',
-       'FILES'         => q{lib/Term/Cap.{pm,t}},
-       'MAP'           => {
-                            ''        => 'lib/Term/',
-                            'test.pl' => 'lib/Term/Cap.t',
-                          },
+       'FILES'         => q{ext/Term-Cap},
        'CPAN'          => 1,
        'UPSTREAM'      => undef,
        },
similarity index 100%
rename from lib/Term/Cap.pm
rename to ext/Term-Cap/Cap.pm
similarity index 98%
rename from lib/Term/Cap.t
rename to ext/Term-Cap/test.pl
index 1f046e4..76ec96d 100644 (file)
@@ -5,10 +5,6 @@ my $file;
 BEGIN {
         $file = $0;
         chdir 't' if -d 't';
-
-        if ( $ENV{PERL_CORE} ) {
-           @INC = '../lib';
-        }
 }
 
 END {