~ubuntu-branches/ubuntu/natty/libstatistics-basic-perl/natty

« back to all changes in this revision

Viewing changes to Makefile.PL

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Niebur, Nathan Handler, Ryan Niebur
  • Date: 2009-07-01 20:22:06 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090701202206-0co1izn0pj047x4i
Tags: 1.6600-1
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.

[ Ryan Niebur ]
* New upstream release
* Debian Policy 3.8.2
* enable author tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# vi:set syntax=perl:
2
2
 
3
3
use strict;
4
 
use 5.008_001; # required for: my $b = bless {v1=>1, v2=>2}, "blarg"; warn $_ for keys %$b;
 
4
use warnings;
 
5
 
 
6
my @v = eval {
 
7
    my $b = bless {v1=>1, v2=>2}, "blarg";
 
8
    return keys %$b;
 
9
};
 
10
 
 
11
die "Your perl ($]) has a terrible bug in bless().  Please upgrade it."
 
12
   unless 2 == grep {m/v[12]/} @v;
 
13
 
5
14
 
6
15
use ExtUtils::MakeMaker;
7
16
 
10
19
    'VERSION_FROM'  => 'Basic.pm',
11
20
 
12
21
    'PREREQ_PM'     => { 
13
 
        'Number::Format' => 1.61,
 
22
        'Number::Format' => 1.61, # it's kinda silly to allow 5.6.x since 1.61 requires 5.8, but what can ya do
14
23
        'Scalar::Util'   => 0,
15
24
    },
16
25
 
17
26
    ($ExtUtils::MakeMaker::VERSION ge '6.48'? 
18
 
        (MIN_PERL_VERSION => 5.008,
 
27
        (MIN_PERL_VERSION => 5.006,
19
28
            META_MERGE => {
20
29
                keywords => ['stats','statistics', 'mean', 'average', 'correlation'],
21
30
                resources=> {