~ubuntu-branches/ubuntu/saucy/libmodule-install-doapchangesets-perl/saucy

« back to all changes in this revision

Viewing changes to inc/Module/Install/Makefile.pm

  • Committer: Package Import Robot
  • Author(s): Jonas Smedegaard, Jonas Smedegaard
  • Date: 2012-08-07 14:25:59 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120807142559-wukqwz5jfgytood9
Tags: 0.203-1
* New upstream release.

[ Jonas Smedegaard ]
* Bump debhelper compatibility level to 8.
* Update copyright file:
  + Fix use pseudo-license-in-comment and -comment-in-license fields:
    File format 1.0 mandates License field to either be single-line or
    include all licensing info.
  + Extend coverage of main project to include current year.
* Tidy rules file.
* Update package relations:
  + Recommend libmodule-install-doap-perl, libmodule-package-perl and
    recent libmodule-install-rdf-perl.
  + Relax to (build-)depend unversioned on cdbs: Needed version
    satisfied in stable, and oldstable no longer supported.
* Use metacpan.org page as Homepage.
* Use bugtracker as preferred upstream contact.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
use vars qw{$VERSION @ISA $ISCORE};
10
10
BEGIN {
11
 
        $VERSION = '1.02';
 
11
        $VERSION = '1.06';
12
12
        @ISA     = 'Module::Install::Base';
13
13
        $ISCORE  = 1;
14
14
}
215
215
        require ExtUtils::MakeMaker;
216
216
 
217
217
        if ( $perl_version and $self->_cmp($perl_version, '5.006') >= 0 ) {
218
 
                # MakeMaker can complain about module versions that include
219
 
                # an underscore, even though its own version may contain one!
220
 
                # Hence the funny regexp to get rid of it.  See RT #35800
221
 
                # for details.
222
 
                my $v = $ExtUtils::MakeMaker::VERSION =~ /^(\d+\.\d+)/;
223
 
                $self->build_requires(     'ExtUtils::MakeMaker' => $v );
224
 
                $self->configure_requires( 'ExtUtils::MakeMaker' => $v );
 
218
                # This previous attempted to inherit the version of
 
219
                # ExtUtils::MakeMaker in use by the module author, but this
 
220
                # was found to be untenable as some authors build releases
 
221
                # using future dev versions of EU:MM that nobody else has.
 
222
                # Instead, #toolchain suggests we use 6.59 which is the most
 
223
                # stable version on CPAN at time of writing and is, to quote
 
224
                # ribasushi, "not terminally fucked, > and tested enough".
 
225
                # TODO: We will now need to maintain this over time to push
 
226
                # the version up as new versions are released.
 
227
                $self->build_requires(     'ExtUtils::MakeMaker' => 6.59 );
 
228
                $self->configure_requires( 'ExtUtils::MakeMaker' => 6.59 );
225
229
        } else {
226
230
                # Allow legacy-compatibility with 5.005 by depending on the
227
231
                # most recent EU:MM that supported 5.005.
228
 
                $self->build_requires(     'ExtUtils::MakeMaker' => 6.42 );
229
 
                $self->configure_requires( 'ExtUtils::MakeMaker' => 6.42 );
 
232
                $self->build_requires(     'ExtUtils::MakeMaker' => 6.36 );
 
233
                $self->configure_requires( 'ExtUtils::MakeMaker' => 6.36 );
230
234
        }
231
235
 
232
236
        # Generate the MakeMaker params
241
245
'all_from' if you prefer) in Makefile.PL.
242
246
EOT
243
247
 
244
 
        $DB::single = 1;
245
248
        if ( $self->tests ) {
246
249
                my @tests = split ' ', $self->tests;
247
250
                my %seen;
412
415
 
413
416
__END__
414
417
 
415
 
#line 541
 
418
#line 544