From: Steffen Mueller Date: Sun, 30 Aug 2009 12:48:53 +0000 (+0200) Subject: Move Term::Cap from lib to ext X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2c48d544547cde085a32e29c951f5afcd7ed5501;p=p5sagit%2Fp5-mst-13.2.git Move Term::Cap from lib to ext Remove PERL_CORE boilerplate in Term::Cap tests --- diff --git a/MANIFEST b/MANIFEST index 2fcf267..ddefe3d 100644 --- 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 diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 547d96c..30cab27 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -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, }, diff --git a/lib/Term/Cap.pm b/ext/Term-Cap/Cap.pm similarity index 100% rename from lib/Term/Cap.pm rename to ext/Term-Cap/Cap.pm diff --git a/lib/Term/Cap.t b/ext/Term-Cap/test.pl similarity index 98% rename from lib/Term/Cap.t rename to ext/Term-Cap/test.pl index 1f046e4..76ec96d 100644 --- a/lib/Term/Cap.t +++ b/ext/Term-Cap/test.pl @@ -5,10 +5,6 @@ my $file; BEGIN { $file = $0; chdir 't' if -d 't'; - - if ( $ENV{PERL_CORE} ) { - @INC = '../lib'; - } } END {