TT#69200 Switch to use CPAN::Meta::Spec metadata

Use the new dependency structure instead of the deprecated one, which is
more semantically rich, and uniform.

Change-Id: I2288c0d349cfe6ae5c0168e35f2c7cf00e8b7091
(cherry picked from commit e7fb54327b)
mr7.5.4
Guillem Jover 6 years ago committed by Rene Krenn
parent 4743ec6150
commit e866d41c50

@ -6,71 +6,83 @@ my $builder = Module::Build->new(
dist_author => 'Rene Krenn <rkrenn@sipwise.com>', dist_author => 'Rene Krenn <rkrenn@sipwise.com>',
dist_version_from => 'lib/NGCP/BulkProcessor/Globals.pm', dist_version_from => 'lib/NGCP/BulkProcessor/Globals.pm',
perl_version_from => 'lib/NGCP/BulkProcessor/Globals.pm', perl_version_from => 'lib/NGCP/BulkProcessor/Globals.pm',
test_requires => {
'Module::Runtime' => 0,
'Test::Unit::Procedural' => 0,
},
requires => {
# Needed by Excel::Reader::XLSX
'Archive::Zip' => 0,
'OLE::Storage_Lite' => 0,
'XML::LibXML::Reader' => 0,
# Needed by NGCP::BulkProcessor meta_merge => {
'Config::Any' => 0, 'meta-spec' => {
'DBD::CSV' => '0.26', version => 2,
#'DBD::ODBC' => '1.50', },
#'DBD::Oracle' => '1.21', prereqs => {
#'DBD::Pg' => '2.17.2', test => {
'DBD::SQLite' => '1.29', requires => {
'DBD::mysql' => '4.014', 'Module::Runtime' => 0,
'DBI' => '1.608', 'Test::Unit::Procedural' => 0,
'Data::Dump' => 0, },
'Data::Dumper::Concise' => 0, },
'Data::UUID' => 0, runtime => {
'Data::Validate::IP' => 0, requires => {
'Date::Calc' => 0, # Needed by Excel::Reader::XLSX
'Date::Manip' => 0, 'Archive::Zip' => 0,
'DateTime' => 0, 'OLE::Storage_Lite' => 0,
'DateTime::Format::ISO8601' => 0, 'XML::LibXML::Reader' => 0,
'DateTime::Format::Strptime' => 0,
'DateTime::TimeZone' => 0, # Needed by NGCP::BulkProcessor
'Digest::MD5' => 0, 'Config::Any' => 0,
'Email::MIME' => 0, 'DBD::CSV' => '0.26',
'Email::MIME::Attachment::Stripper' => 0, #'DBD::ODBC' => '1.50',
'Gearman::Client' => 0, #'DBD::Oracle' => '1.21',
#'Gearman::Task' => 0, #'DBD::Pg' => '2.17.2',
#'Gearman::Worker' => 0, 'DBD::SQLite' => '1.29',
'HTML::Entities' => 0, 'DBD::mysql' => '4.014',
'HTTP::Request' => 0, 'DBI' => '1.608',
'IO::Socket::SSL' => 0, 'Data::Dump' => 0,
'IO::Uncompress::Unzip' => 0, 'Data::Dumper::Concise' => 0,
'IO::Uncompress::Unzip' => 0, 'Data::UUID' => 0,
'LWP::UserAgent' => 0, 'Data::Validate::IP' => 0,
#'List::Util' => 0, 'Date::Calc' => 0,
'Locale::Recode' => 0, 'Date::Manip' => 0,
'Log::Log4Perl' => 0, 'DateTime' => 0,
'MIME::Base64' => 0, 'DateTime::Format::ISO8601' => 0,
'MIME::Lite' => 0, 'DateTime::Format::Strptime' => 0,
'MIME::Parser' => 0, 'DateTime::TimeZone' => 0,
'Mail::IMAPClient' => 0, 'Digest::MD5' => 0,
'Marpa::R2' => 0, 'Email::MIME' => 0,
'Net::Address::IP::Local' => 0, 'Email::MIME::Attachment::Stripper' => 0,
'Net::SMTP' => 0, 'Gearman::Client' => 0,
'PHP::Serialization' => 0, #'Gearman::Task' => 0,
'Spreadsheet::ParseExcel' => 0, #'Gearman::Worker' => 0,
'Spreadsheet::ParseExcel::FmtUnicode' => 0, 'HTML::Entities' => 0,
'String::MkPasswd::mkpasswd' => 0, 'HTTP::Request' => 0,
#'Sys::CpuAffinity' => 0, 'IO::Socket::SSL' => 0,
'Text::CSV_XS' => 0, 'IO::Uncompress::Unzip' => 0,
'Tie::IxHash' => 0, 'IO::Uncompress::Unzip' => 0,
'Time::HiRes' => 0, 'LWP::UserAgent' => 0,
'Time::Warp' => 0, #'List::Util' => 0,
'URI::Escape' => 0, 'Locale::Recode' => 0,
'URI::Find' => 0, 'Log::Log4Perl' => 0,
'UUID' => 0, 'MIME::Base64' => 0,
'XML::Dumper' => '0.81', 'MIME::Lite' => 0,
'YAML::XS' => 0, 'MIME::Parser' => 0,
'Mail::IMAPClient' => 0,
'Marpa::R2' => 0,
'Net::Address::IP::Local' => 0,
'Net::SMTP' => 0,
'PHP::Serialization' => 0,
'Spreadsheet::ParseExcel' => 0,
'Spreadsheet::ParseExcel::FmtUnicode' => 0,
'String::MkPasswd::mkpasswd' => 0,
#'Sys::CpuAffinity' => 0,
'Text::CSV_XS' => 0,
'Tie::IxHash' => 0,
'Time::HiRes' => 0,
'Time::Warp' => 0,
'URI::Escape' => 0,
'URI::Find' => 0,
'UUID' => 0,
'XML::Dumper' => '0.81',
'YAML::XS' => 0,
},
},
},
}, },
add_to_cleanup => ['NGCP-BulkProcessor-*', 'Excel-Reader-*'], add_to_cleanup => ['NGCP-BulkProcessor-*', 'Excel-Reader-*'],
); );

Loading…
Cancel
Save