Subject: | Patch to reduce dependencies |
Hi,
The attached patch reduces the dependencies of ElasticSearch to those
conveniently packaged by Ubuntu 8.04.
Kind regards,
Dave Lambley
Subject: | less_deps.diff |
Index: t/00-load.t
===================================================================
--- t/00-load.t (revision 31700)
+++ t/00-load.t (revision 31714)
@@ -4,7 +4,8 @@
our $test_num;
BEGIN { $test_num = 196 }
-use Test::Most tests => $test_num;
+use Test::More tests => $test_num;
+use Test::Exception;
use Module::Build;
use File::Spec::Functions qw(catfile);
use POSIX 'setsid';
Index: Makefile.PL
===================================================================
--- Makefile.PL (revision 31700)
+++ Makefile.PL (revision 31714)
@@ -15,7 +15,7 @@
'LWP::ConnCache' => 0,
'LWP::UserAgent' => 0,
'POSIX' => 0,
- 'Test::Most' => 0,
+ 'Test::More' => 0,
'parent' => 0
},
'INSTALLDIRS' => 'site',
Index: Build.PL
===================================================================
--- Build.PL (revision 31700)
+++ Build.PL (revision 31714)
@@ -8,10 +8,10 @@
dist_author => q{Clinton Gormley <drtech@cpan.org>},
dist_version_from => 'lib/ElasticSearch.pm',
build_requires => {
- 'Test::Most' => 0,
+ 'Test::More' => 0,
'POSIX' => 0,
'IO::Socket' => 0,
- 'File::Temp' => '0.22',
+ 'File::Temp' => '0.20',
},
add_to_cleanup => ['ElasticSearch-*'],
create_makefile_pl => 'traditional',
@@ -22,13 +22,13 @@
'JSON' => 0,
'Data::Dumper' => 0,
'Encode' => 0,
- 'HTTP::Lite' => 0,
'parent' => 0,
},
recommends => {
'Bit::Vector' => 0,
'Class::Accessor' => 0,
'JSON::XS' => 0,
+ 'HTTP::Lite' => 0,
}
);