Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 100 lines (89 sloc) 3.417 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
#!/usr/bin/perl -w

use strict;

# Include 'lib' so it sees our perl5i::VERSION when version checking
use lib 'inc', 'lib';
use MyBuild;

use 5.010;

my $builder = MyBuild->new(
    module_name => 'perl5i',
    license => 'perl',
    dist_author => 'Michael G Schwern <schwern@pobox.com>',
    dist_version => "v2.3.1",

    requires => {
        'perl' => '5.10.0',
        'Modern::Perl' => '1.03',
        'CLASS' => '1.00',
        'Child' => '0.007',
        'DateTime' => '0.47',
        'DateTime::Format::Epoch' => '0.11',
        'DateTime::TimeZone::Tzfile' => '0.002',
        'Module::Load' => '0.16', # for perl5i::1
        'Text::Wrap' => '2009.0305',
        'Try::Tiny' => '0.02',
        'autodie' => '1.999',
        'IPC::System::Simple' => '1.18', # Needed for autodie :system
        'autobox' => '2.70',
        'autobox::Core' => '1.0',
        parent => '0.221',
        'File::chdir' => '0.1002',
        'autobox::dump' => '20090426', # for perl5i::1
        'autobox::List::Util' => '20090629',
        'Want' => '0.18',
        'autovivification' => '0.06',
        'version' => '0.77',
        'Perl6::Caller' => '0.100',
        "Taint::Util" => '0.06',
        'Hash::Merge::Simple' => '0.04',
        'List::MoreUtils' => '0.22',
        indirect => '0.20',
        'JSON' => '2.17',
        'YAML::Any' => '0.70',
        'Digest::SHA1' => '2.09',
        'Digest::MD5' => '2.36',
        'Object::ID' => '0.1.0',
        "Devel::Declare::MethodInstaller::Simple" => '0.006000',
        'true' => '0.03',
    },
    build_requires => {
        'ExtUtils::CBuilder' => '0.26',
        'Test::More' => '0.88',
        'Test::Warn' => '0.11',
        'IPC::Open3' => '0',
        'Test::Output' => '0.16',
    },
    configure_requires => {
        # MB's auto configure requires only puts it in the META.yml
        # so some CPAN shells won't see it.
        "Module::Build" => '0.36',
    },

    meta_merge => {
        resources => {
            repository => 'http://github.com/schwern/perl5i/tree/master',
            bugtracker => 'http://github.com/schwern/perl5i/issues',
            MailingList => "http://groups.google.com/group/perl5i",
            Chat => "irc://irc.perl.org/#perl5i",
        },
        no_index => {
            file => [qw(
lib/perl5i/0/DateTime.pm
lib/perl5i/0/ARRAY.pm
lib/perl5i/0/DEFAULT.pm
lib/perl5i/0/HASH.pm
lib/perl5i/0/Meta.pm
lib/perl5i/0/Meta/Class.pm
lib/perl5i/0/Meta/Instance.pm
lib/perl5i/0/SCALAR.pm
lib/perl5i/VERSION.pm
)],
        },
    },

    PL_files => {
        'bin/perl5i.c.PL' => 'bin/perl5i.c',
        'bin/perl5i.bat.PL' => 'bin/perl5i.bat',
    },

    recursive_test_files => 1,

    create_readme => 1,
    create_license => 1,
);

$builder->requires->{"Time::y2038"} = "20100218" if $builder->needs_y2038;

$builder->create_build_script();
Something went wrong with that request. Please try again.