diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-06-01 14:15:30 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-06-01 14:15:30 +0000 |
commit | 1425eea04dd872dc6313f5315f317b2de288037c (patch) | |
tree | f81c74f75429e829714029850f89ee4c7f13aa39 /Build.PL | |
download | IO-Async-tarball-1425eea04dd872dc6313f5315f317b2de288037c.tar.gz |
IO-Async-0.67HEADIO-Async-0.67master
Diffstat (limited to 'Build.PL')
-rw-r--r-- | Build.PL | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Build.PL b/Build.PL new file mode 100644 index 0000000..ddb9c7a --- /dev/null +++ b/Build.PL @@ -0,0 +1,50 @@ +use strict; +use warnings; + +use Module::Build; + +my $build = Module::Build->new( + module_name => 'IO::Async', + requires => { + 'Future' => '0.26', # ->is_failed + 'Future::Utils' => '0.18', # try_repeat + 'Exporter' => '5.57', + 'File::stat' => 0, + 'IO::Poll' => 0, + 'Socket' => '2.007', + 'Storable' => 0, + 'Struct::Dumb' => 0, + 'Time::HiRes' => 0, + + # Fails on perl 5.8.3 for unknown reasons + # https://rt.cpan.org/Ticket/Display.html?id=64493 + # Now 5.16 is stable, I see even less reason to worry about such an old Perl + + # Furthermore we've started using 5.10'isms + 'perl' => '5.010', + }, + recommends => { + 'IO::Socket::IP' => 0, + }, + test_requires => { + 'File::Temp' => 0, + 'Test::Fatal' => 0, + 'Test::Identity' => 0, + 'Test::More' => '0.88', + 'Test::Refcount' => 0, + }, + configure_requires => { + 'Module::Build' => '0.4004', # test_requires + }, + license => 'perl', + create_makefile_pl => 'traditional', + create_license => 1, + create_readme => 1, + meta_merge => { + resources => { + x_IRC => "irc://irc.perl.org/#io-async", + }, + }, +); + +$build->create_build_script; |