'ExtUtils::MakeMaker' => {
'MAINTAINER' => 'mschwern',
- 'DISTRIBUTION' => 'BINGOS/ExtUtils-MakeMaker-6.76.tar.gz',
+ 'DISTRIBUTION' => 'BINGOS/ExtUtils-MakeMaker-6.78.tar.gz',
'FILES' => q[cpan/ExtUtils-MakeMaker],
'EXCLUDED' => [
qr{^t/lib/Test/},
+6.78 Mon Sep 23 13:44:39 BST 2013
+
+ No changes from 6.77_08
+
+6.77_08 Sun Sep 22 18:43:23 BST 2013
+ New feature:
+ * Made UNINST an attribute, so removing shadowed modules
+ can be set 'perl Makefile.PL UNINST=1'
+
+6.77_07 Sat Sep 21 09:44:19 BST 2013
+ Bug fixes:
+ * do not set default switches in Test::Harness; not even -w
+
+6.77_06 Thu Sep 19 15:36:59 BST 2013
+ Dist fixes:
+ * Previous tarball was corrupted
+
+6.77_05 Thu Sep 19 14:09:00 BST 2013
+ Bug fixes:
+ * Fix 3 more tests to work in parallel. Now works with HARNESS_OPTIONS=j64
+
+6.77_04 Wed Sep 18 19:23:38 BST 2013
+ Bug fixes:
+ * Fixed PERL_SRC for core tests after parallelisation
+ enhancements were made in 6.77_01
+
+6.77_03 Mon Sep 16 12:20:25 BST 2013
+ VMS fixes:
+ * CCFLAGS may have appendages not from PERL_MM_OPT
+
+6.77_02 Thu Sep 12 21:21:12 BST 2013
+ Bug fixes:
+ * Support 'perl' as a PREREQ_PM target
+ * RT#77029 Support linefeeds in abstract parsing
+ * Skip some tests when cross-compiling core
+
+6.77_01 Tue Sep 10 15:20:42 BST 2013
+ Bug fixes:
+ * RT#7248 warn if NAME is not valid package name
+ * Perl#36539 reverse search order for finding perl
+ * parse_version() should work with taint mode now
+ * RT#69590 enable tests to be run in parallel
+
6.76 Fri Sep 6 13:32:42 BST 2013
No changes from 6.75_04
our @EXPORT = qw(test_harness pod2man perllocal_install uninstall
warn_if_old_packlist);
-our $VERSION = '6.76';
+our $VERSION = '6.78';
my $Is_VMS = $^O eq 'VMS';
use strict;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
use File::Spec;
require ExtUtils::Liblist::Kid;
use strict;
use warnings;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
use ExtUtils::MakeMaker::Config;
use Cwd 'cwd';
use strict;
use ExtUtils::MakeMaker::Config;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require ExtUtils::Liblist;
require ExtUtils::MakeMaker;
package ExtUtils::MM_AIX;
use strict;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require ExtUtils::MM_Unix;
our @ISA = qw(ExtUtils::MM_Unix);
package ExtUtils::MM_Any;
use strict;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
use Carp;
use File::Spec;
sub test_via_harness {
my($self, $perl, $tests) = @_;
- return qq{\t$perl "-MExtUtils::Command::MM" }.
- qq{"-e" "test_harness(\$(TEST_VERBOSE), '\$(INST_LIB)', '\$(INST_ARCHLIB)')" $tests\n};
+ return qq{\t$perl "-MExtUtils::Command::MM" "-MTest::Harness" }.
+ qq{"-e" "undef *Test::Harness::Switches; test_harness(\$(TEST_VERBOSE), '\$(INST_LIB)', '\$(INST_ARCHLIB)')" $tests\n};
}
=head3 test_via_script
require ExtUtils::MM_Unix;
our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
-our $VERSION = '6.76';
+our $VERSION = '6.78';
=item os_flavor
require ExtUtils::MM_Win32;
our @ISA = qw( ExtUtils::MM_Unix );
-our $VERSION = '6.76';
+our $VERSION = '6.78';
=head1 NAME
use strict;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
our @ISA = qw( ExtUtils::MM_Unix );
}
-our $VERSION = '6.76';
+our $VERSION = '6.78';
=head1 NAME
use strict;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
sub new {
die <<'UNSUPPORTED';
use ExtUtils::MakeMaker::Config;
use File::Basename;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require ExtUtils::MM_Win32;
our @ISA = qw(ExtUtils::MM_Win32);
use ExtUtils::MakeMaker qw(neatvalue);
use File::Spec;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
package ExtUtils::MM_QNX;
use strict;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require ExtUtils::MM_Unix;
our @ISA = qw(ExtUtils::MM_Unix);
package ExtUtils::MM_UWIN;
use strict;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require ExtUtils::MM_Unix;
our @ISA = qw(ExtUtils::MM_Unix);
# If we make $VERSION an our variable parse_version() breaks
use vars qw($VERSION);
-$VERSION = '6.76';
+$VERSION = '6.78';
$VERSION = eval $VERSION; ## no critic [BuiltinFunctions::ProhibitStringyEval]
require ExtUtils::MM_Any;
my @perls = ($thisperl);
push @perls, map { "$_$Config{exe_ext}" }
- ('perl', 'perl5', "perl$Config{version}");
+ ("perl$Config{version}", 'perl5', 'perl');
# miniperl has priority over all but the canonical perl when in the
# core. Otherwise its a last resort.
$inpod = /^=(?!cut)/ ? 1 : /^=cut/ ? 0 : $inpod;
next if !$inpod;
chop;
- next unless /^($package(?:\.pm)? \s+ -+ \s+)(.*)/x;
- $result = $2;
- last;
+ if ( /^($package(?:\.pm)? \s+ -+ \s+)(.*)/x ) {
+ $result = $2;
+ next;
+ }
+ next unless $result;
+ if ( $result && ( /^\s*$/ || /^\=/ ) ) {
+ last;
+ }
+ $result = join ' ', $result, $_;
}
close $fh;
};
\$$name;
};
+ $eval = $1 if $eval =~ m{^(.+)}s;
local $^W = 0;
my $result = eval($eval); ## no critic
warn "Could not eval '$eval' in $parsefile: $@" if $@;
use File::Basename;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
package ExtUtils::MM_VOS;
use strict;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require ExtUtils::MM_Unix;
our @ISA = qw(ExtUtils::MM_Unix);
require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
-our $VERSION = '6.76';
+our $VERSION = '6.78';
$ENV{EMXSHELL} = 'sh'; # to run `commands`
use strict;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require ExtUtils::MM_Win32;
our @ISA = qw(ExtUtils::MM_Win32);
use strict;
require ExtUtils::MM;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
our @ISA = qw(ExtUtils::MM);
{
my @Prepend_parent;
my %Recognized_Att_Keys;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
$VERSION = eval $VERSION; ## no critic [BuiltinFunctions::ProhibitStringyEval]
# Emulate something resembling CVS $Revision$
PERL_SRC PERM_DIR PERM_RW PERM_RWX
PL_FILES PM PM_FILTER PMLIBDIRS PMLIBPARENTDIRS POLLUTE PPM_INSTALL_EXEC
PPM_INSTALL_SCRIPT PREREQ_FATAL PREREQ_PM PREREQ_PRINT PRINT_PREREQ
- SIGN SKIP TEST_REQUIRES TYPEMAPS VERSION VERSION_FROM XS XSOPT XSPROTOARG
+ SIGN SKIP TEST_REQUIRES TYPEMAPS UNINST VERSION VERSION_FROM XS XSOPT XSPROTOARG
XS_VERSION clean depend dist dynamic_lib linkext macro realclean
tool_autosplit
foreach my $prereq (sort keys %$prereqs) {
my $required_version = $prereqs->{$prereq};
- my $installed_file = MM->_installed_file_for_module($prereq);
my $pr_version = 0;
- $pr_version = MM->parse_version($installed_file) if $installed_file;
- $pr_version = 0 if $pr_version eq 'undef';
+ my $installed_file;
+
+ if ( $prereq eq 'perl' ) {
+ if ( defined $required_version && $required_version =~ /^v?[\d_\.]+$/
+ || $required_version !~ /^v?[\d_\.]+$/ ) {
+ require version;
+ my $normal = eval { version->parse( $required_version ) };
+ $required_version = $normal if defined $normal;
+ }
+ $installed_file = $prereq;
+ $pr_version = $];
+ }
+ else {
+ $installed_file = MM->_installed_file_for_module($prereq);
+ $pr_version = MM->parse_version($installed_file) if $installed_file;
+ $pr_version = 0 if $pr_version eq 'undef';
+ }
# convert X.Y_Z alpha version #s to X.YZ for easier comparisons
$pr_version =~ s/(\d+)\.(\d+)_(\d+)/$1.$2$3/;
$self->{NAME} ||= $self->guess_name;
+ warn "Warning: NAME must be a package name\n"
+ unless $self->{NAME} =~ m!^[A-Z_a-z][0-9A-Z_a-z]*(?:::[0-9A-Z_a-z]+)*$!;
+
($self->{NAME_SYM} = $self->{NAME}) =~ s/\W+/_/g;
$self->init_MAKE;
use strict;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
use Config ();
package ExtUtils::MakeMaker::FAQ;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
1;
__END__
package ExtUtils::MakeMaker::Tutorial;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
=head1 NAME
# There's just too much Dynaloader incest here to turn on strict vars.
use strict 'refs';
-our $VERSION = '6.76';
+our $VERSION = '6.78';
require Exporter;
our @ISA = ('Exporter');
our @ISA = qw(Exporter);
our @EXPORT = qw(&Mksymlists);
-our $VERSION = '6.76';
+our $VERSION = '6.78';
sub Mksymlists {
my(%spec) = @_;
use strict;
use warnings;
-our $VERSION = '6.76';
+our $VERSION = '6.78';
use Cwd;
use File::Spec;
BEGIN {
unshift @INC, 't/lib';
}
-chdir 't';
+
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
use strict;
use Test::More tests => 7;
use TieOut;
use Config;
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib;
my($perl_src, $mm_perl_src);
if( $ENV{PERL_CORE} ) {
- $perl_src = File::Spec->catdir($Updir, $Updir, $Updir, $Updir);
+ $perl_src = File::Spec->catdir($Updir, $Updir, $Updir, $Updir, $Updir);
$perl_src = File::Spec->canonpath($perl_src);
$mm_perl_src = File::Spec->canonpath($mm->{PERL_SRC});
}
use File::Path;
use Config;
-use Test::More tests => 20;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 20);
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::BFD;
my $perl = which_perl();
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
+
perl_lib;
ok( setup_recurs(), 'setup' );
my $Is_VMS = $^O eq 'VMS';
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib;
my($perl_src, $mm_perl_src);
if( $ENV{PERL_CORE} ) {
- $perl_src = File::Spec->catdir($Updir, $Updir, $Updir, $Updir);
+ $perl_src = File::Spec->catdir($Updir, $Updir, $Updir, $Updir, $Updir);
$perl_src = File::Spec->canonpath($perl_src);
$mm_perl_src = File::Spec->canonpath($mm->{PERL_SRC});
}
chdir 't';
use strict;
-use Test::More tests => 9;
+use Config;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 9);
use File::Spec;
use MakeMaker::Test::Setup::PL_FILES;
unshift @INC, 't/lib';
}
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
use strict;
use Test::More tests => 5;
use Config;
use ExtUtils::MakeMaker;
-use Test::More tests => 171;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 171);
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::BFD;
use File::Find;
use File::Spec;
use File::Path;
+use File::Temp qw[tempdir];
my $perl = which_perl();
my $Is_VMS = $^O eq 'VMS';
-chdir 't';
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib;
use Test::More tests => 9;
use File::Spec;
+use File::Temp qw[tempdir];
use TieOut;
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::BFD;
# ensure these tests will still work.
$Config{installman3dir} = 'none';
-chdir 't';
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib();
BEGIN {
unshift @INC, 't/lib/';
}
-chdir 't';
+
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
my $Is_VMS = $^O eq 'VMS';
#!/usr/bin/perl -w
use lib 't/lib';
-chdir 't';
+
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
use Test::More tests => 1;
use ExtUtils::MakeMaker;
use Test::More;
+plan skip_all => "no toolchain installed when cross-compiling"
+ if $ENV{PERL_CORE} && $Config{'usecrosscompile'};
#--------------------- Setup
BEGIN {
unshift @INC, 't/lib/';
}
-chdir 't';
+
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
use File::Spec;
use warnings;
use lib 't/lib';
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
use File::Spec;
use Test::More tests => 3;
}
use strict;
-use Test::More tests => 32;
+use Config;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 32);
use TieOut;
use MakeMaker::Test::Utils;
use strict;
use lib 't/lib';
+use Config;
use Test::More;
# In a BEGIN block so the END tests aren't registered.
plan skip_all => "miniperl test only necessary for the perl core"
if !$ENV{PERL_CORE};
+ plan skip_all => "no toolchain installed when cross-compiling"
+ if $ENV{PERL_CORE} && $Config{'usecrosscompile'};
+
plan "no_plan";
}
Foo - the abstract
END
+
+test_abstract(<<END, "Catalyst::Plugin::Authentication", "Infrastructure plugin for the Catalyst authentication framework.", "contains a line break");
+=pod
+
+=head1 NAME
+
+Catalyst::Plugin::Authentication - Infrastructure plugin for the Catalyst
+authentication framework.
+END
use strict;
use lib 't/lib';
-use Test::More 'no_plan';
+use Config;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : 'no_plan';
+use File::Temp qw[tempdir];
use ExtUtils::MakeMaker;
# Setup our test environment
{
- chdir 't';
+ my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+ chdir $tmpdir;
perl_lib;
use ExtUtils::MakeMaker;
use TieOut;
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib;
$| = 1;
use strict;
use Test::More tests => 16;
+use File::Temp qw[tempdir];
use TieOut;
use MakeMaker::Test::Utils;
use ExtUtils::MakeMaker;
-chdir 't';
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib();
use Config;
use Test::More;
+use File::Temp qw[tempdir];
unless( eval { require Data::Dumper } ) {
plan skip_all => 'Data::Dumper not available';
my $Makefile = makefile_name();
my $Is_VMS = $^O eq 'VMS';
-chdir 't';
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
+
perl_lib;
$| = 1;
use strict;
use Config;
-use Test::More tests => 26;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 26);
+use File::Temp qw[tempdir];
+
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::Recurs;
my $perl = which_perl();
my $Is_VMS = $^O eq 'VMS';
-chdir('t');
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib;
}
use strict;
-use Test::More tests => 20;
+use Config;
+use Test::More
+ $ENV{PERL_CORE} && $Config{'usecrosscompile'}
+ ? (skip_all => "no toolchain installed when cross-compiling")
+ : (tests => 20);
use TieOut;
use MakeMaker::Test::Utils;
use ExtUtils::MakeMaker;
-chdir 't';
+use File::Temp qw[tempdir];
+my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
+chdir $tmpdir;
perl_lib();
VERSION => '1.00',
);
- is( $mm->{CCFLAGS}, "-Wl,-rpath -Wl,/foo/bar/lib", 'parse_args() splits like shell' );
+ like( $mm->{CCFLAGS}, qr{-Wl,-rpath -Wl,/foo/bar/lib}, 'parse_args() splits like shell' );
is_deeply( $mm->{LIBS}, ['-lwibble -lwobble'], 'parse_args() splits like shell' );
}
use strict;
-use Test::More;
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::XS;
+use Test::More
+ have_compiler()
+ ? (tests => 5)
+ : (skip_all => "ExtUtils::CBuilder not installed or couldn't find a compiler");
use File::Find;
use File::Spec;
use File::Path;
-my $Skipped = 0;
-if( have_compiler() ) {
- plan tests => 5;
-}
-else {
- $Skipped = 1;
- plan skip_all => "ExtUtils::CBuilder not installed or couldn't find a compiler";
-}
-
my $Is_VMS = $^O eq 'VMS';
my $perl = which_perl();
ok( setup_xs(), 'setup' );
END {
- unless( $Skipped ) {
- chdir File::Spec->updir or die;
- teardown_xs(), 'teardown' or die;
- }
+ chdir File::Spec->updir or die;
+ teardown_xs(), 'teardown' or die;
}
ok( chdir('XS-Test'), "chdir'd to XS-Test" ) ||