From: David Mitchell Date: Wed, 10 Jun 2009 15:06:08 +0000 (+0100) Subject: remove from blead, some files already removed from Makemaker 6.52 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=75b0fd110ae0c4fbafa45cf18e7cd618a6a7bdd8;p=p5sagit%2Fp5-mst-13.2.git remove from blead, some files already removed from Makemaker 6.52 --- diff --git a/MANIFEST b/MANIFEST index 02d514c..3dc9ba0 100644 --- a/MANIFEST +++ b/MANIFEST @@ -2145,12 +2145,10 @@ lib/ExtUtils/Install.pm Handles 'make install' on extensions lib/ExtUtils/instmodsh Give information about installed extensions lib/ExtUtils/Liblist/Kid.pm Does the real work of the above lib/ExtUtils/Liblist.pm Locates libraries -lib/ExtUtils/MakeMaker/bytes.pm Version agnostic bytes.pm lib/ExtUtils/MakeMaker/Config.pm MakeMaker wrapper for Config lib/ExtUtils/MakeMaker/FAQ.pod MakeMaker FAQ lib/ExtUtils/MakeMaker.pm Write Makefiles for extensions lib/ExtUtils/MakeMaker/Tutorial.pod Writing a module with MakeMaker -lib/ExtUtils/MakeMaker/vmsish.pm Platform agnostic vmsish.pm lib/ExtUtils/Manifest.pm Utilities to write MANIFEST files lib/ExtUtils/MANIFEST.SKIP The default MANIFEST.SKIP lib/ExtUtils/Mkbootstrap.pm Writes a bootstrap file (see MakeMaker) @@ -2188,7 +2186,6 @@ lib/ExtUtils/t/basic_finish.pl See if MakeMaker can build a module (part 2) lib/ExtUtils/t/basic.pl See if MakeMaker can build a module (part 1) lib/ExtUtils/t/basic.t See if MakeMaker can build a module (wrapper for basic.pl and basic_finish.pl) lib/ExtUtils/t/build_man.t Set if MakeMaker builds manpages -lib/ExtUtils/t/bytes.t Test ExtUtils::MakeMaker::bytes lib/ExtUtils/t/can_write_dir.t Does the _can_write_dir function of ExtUtils::Install work properly? lib/ExtUtils/t/cd.t Test to see cd works lib/ExtUtils/t/config.t Test ExtUtils::MakeMaker::Config @@ -2247,7 +2244,6 @@ lib/ExtUtils/t/testdata/reallylongdirectoryname/arch1/Config.pm test data for M lib/ExtUtils/t/testdata/reallylongdirectoryname/arch2/Config.pm test data for MakeMaker lib/ExtUtils/t/testlib.t See if ExtUtils::testlib works lib/ExtUtils/t/VERSION_FROM.t See if MakeMaker's VERSION_FROM works -lib/ExtUtils/t/vmsish.t Test ExtUtils::MakeMaker::vmsish lib/ExtUtils/t/WriteEmptyMakefile.t See if WriteEmptyMakefile works lib/ExtUtils/t/writemakefile_args.t See if WriteMakefile works lib/ExtUtils/t/xs.t Part of MakeMaker's test suite diff --git a/lib/ExtUtils/MakeMaker/bytes.pm b/lib/ExtUtils/MakeMaker/bytes.pm deleted file mode 100644 index b24b71a..0000000 --- a/lib/ExtUtils/MakeMaker/bytes.pm +++ /dev/null @@ -1,40 +0,0 @@ -package ExtUtils::MakeMaker::bytes; - -use strict; - -our $VERSION = 6.50; - -my $Have_Bytes = eval { require bytes; 1; }; - -sub import { - return unless $Have_Bytes; - - shift; - unshift @_, 'bytes'; - - goto &bytes::import; -} - -1; - - -=head1 NAME - -ExtUtils::MakeMaker::bytes - Version-agnostic bytes.pm - -=head1 SYNOPSIS - - use just like bytes.pm - -=head1 DESCRIPTION - -bytes.pm was introduced with 5.6. This means any code which has 'use -bytes' in it won't even compile on 5.5.X. Since bytes is a lexical -pragma and must be used at compile time we can't simply wrap it in -a BEGIN { eval 'use bytes' } block. - -ExtUtils::MakeMaker::bytes is just a very thin wrapper around bytes -which works just like it when bytes.pm exists and everywhere else it -does nothing. - -=cut diff --git a/lib/ExtUtils/MakeMaker/vmsish.pm b/lib/ExtUtils/MakeMaker/vmsish.pm deleted file mode 100644 index 13b7da2..0000000 --- a/lib/ExtUtils/MakeMaker/vmsish.pm +++ /dev/null @@ -1,41 +0,0 @@ -package ExtUtils::MakeMaker::vmsish; - -use strict; - -our $VERSION = 6.50; - -my $IsVMS = $^O eq 'VMS'; - -require vmsish if $IsVMS; - - -sub import { - return unless $IsVMS; - - shift; - unshift @_, 'vmsish'; - - goto &vmsish::import; -} - -1; - - -=head1 NAME - -ExtUtils::MakeMaker::vmsish - Platform-agnostic vmsish.pm - -=head1 SYNOPSIS - - use just like vmsish.pm - -=head1 DESCRIPTION - -Until 5.8.0, vmsish.pm is only installed on VMS. This means any code -which has 'use vmsish' in it won't even compile outside VMS. This -makes ExtUtils::MM_VMS very hard to test. - -ExtUtils::MakeMaker::vmsish is just a very thin wrapper around vmsish -which works just like it on VMS and everywhere else it does nothing. - -=cut diff --git a/lib/ExtUtils/t/bytes.t b/lib/ExtUtils/t/bytes.t deleted file mode 100644 index e566831..0000000 --- a/lib/ExtUtils/t/bytes.t +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/perl -w - -BEGIN { - if( $ENV{PERL_CORE} ) { - chdir 't' if -d 't'; - @INC = ('../lib', 'lib'); - } - else { - unshift @INC, 't/lib'; - } -} - -use strict; -use Test::More tests => 4; - -use_ok('ExtUtils::MakeMaker::bytes'); - -SKIP: { - skip "bytes.pm appeared in 5.6", 3 if $] < 5.006; - - my $chr = chr(400); - is( length $chr, 1 ); - - { - use ExtUtils::MakeMaker::bytes; - is( length $chr, 2, 'byte.pm in effect' ); - } - - is( length $chr, 1, ' score is lexical' ); -} diff --git a/lib/ExtUtils/t/vmsish.t b/lib/ExtUtils/t/vmsish.t deleted file mode 100644 index 6195a0d..0000000 --- a/lib/ExtUtils/t/vmsish.t +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/perl -w - -BEGIN { - if( $ENV{PERL_CORE} ) { - chdir 't' if -d 't'; - @INC = ('../lib', 'lib'); - } - else { - unshift @INC, 't/lib'; - } -} - -use strict; -use Test::More tests => 1; - -use_ok('ExtUtils::MakeMaker::vmsish'); -