Commit 33a2f08a authored by Clément OUDOT's avatar Clément OUDOT

Update Makefile.PL modules to launch all tests on CPAN tester platform (#565)

parent 8269cfc2
...@@ -21,10 +21,11 @@ requires: ...@@ -21,10 +21,11 @@ requires:
DBI: 0 DBI: 0
HTTP::Headers: 0 HTTP::Headers: 0
Net::CIDR::Lite: 0 Net::CIDR::Lite: 0
Net::LDAP: 0
Regexp::Assemble: 0 Regexp::Assemble: 0
SOAP::Lite: 0 SOAP::Lite: 0
Storable: 0 Storable: 0
Test::Pod: 0 Test::Pod: 1
XML::LibXML: 0 XML::LibXML: 0
XML::LibXSLT: 0 XML::LibXSLT: 0
XML::Simple: 0 XML::Simple: 0
......
...@@ -37,11 +37,12 @@ WriteMakefile( ...@@ -37,11 +37,12 @@ WriteMakefile(
'XML::Simple' => 0, 'XML::Simple' => 0,
'XML::LibXML' => 0, 'XML::LibXML' => 0,
'XML::LibXSLT' => 0, 'XML::LibXSLT' => 0,
'Test::Pod' => 0, 'Test::Pod' => 1.00,
'Crypt::OpenSSL::RSA' => 0, 'Crypt::OpenSSL::RSA' => 0,
'Crypt::OpenSSL::X509' => 0, 'Crypt::OpenSSL::X509' => 0,
'Crypt::OpenSSL::Bignum' => 0, 'Crypt::OpenSSL::Bignum' => 0,
'Net::CIDR::Lite' => 0, 'Net::CIDR::Lite' => 0,
'Net::LDAP' => 0,
}, # e.g., Module::Name => 1.1 }, # e.g., Module::Name => 1.1
#EXE_FILES => [ 'scripts/convertConfig', ], #EXE_FILES => [ 'scripts/convertConfig', ],
( (
......
...@@ -15,11 +15,13 @@ requires: ...@@ -15,11 +15,13 @@ requires:
Apache::Session: 0 Apache::Session: 0
Apache::Session::Generate::MD5: 0 Apache::Session::Generate::MD5: 0
Cache::Cache: 0 Cache::Cache: 0
Cache::Memcached: 0
CGI: 3.08 CGI: 3.08
Digest::HMAC_SHA1: 0
Lemonldap::NG::Common: 1.3.0 Lemonldap::NG::Common: 1.3.0
LWP::UserAgent: 0 LWP::UserAgent: 0
SOAP::Lite: 0 SOAP::Lite: 0
Test::Pod: 0 Test::Pod: 1
URI: 0 URI: 0
no_index: no_index:
directory: directory:
......
...@@ -4,13 +4,12 @@ use ExtUtils::MakeMaker; ...@@ -4,13 +4,12 @@ use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence # See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written. # the contents of the Makefile that is written.
WriteMakefile( WriteMakefile(
NAME => 'Lemonldap::NG::Handler', NAME => 'Lemonldap::NG::Handler',
VERSION_FROM => 'lib/Lemonldap/NG/Handler.pm', VERSION_FROM => 'lib/Lemonldap/NG/Handler.pm',
LICENSE => 'perl', LICENSE => 'perl',
PMLIBDIRS => ['lib'], PMLIBDIRS => ['lib'],
BUILD_REQUIRES => BUILD_REQUIRES => { 'IO::Pipe' => 0, 'Test::MockObject' => 0 },
{ 'IO::Pipe' => 0, 'Test::MockObject' => 0 }, PREREQ_PM => {
PREREQ_PM => {
'Apache::Session' => 0, 'Apache::Session' => 0,
'LWP::UserAgent' => 0, 'LWP::UserAgent' => 0,
'Cache::Cache' => 0, 'Cache::Cache' => 0,
...@@ -18,8 +17,10 @@ WriteMakefile( ...@@ -18,8 +17,10 @@ WriteMakefile(
'CGI' => 3.08, 'CGI' => 3.08,
'URI' => 0, 'URI' => 0,
'Apache::Session::Generate::MD5' => 0, 'Apache::Session::Generate::MD5' => 0,
'Test::Pod' => 0, 'Test::Pod' => 1.00,
'SOAP::Lite' => 0, 'SOAP::Lite' => 0,
'Cache::Memcached' => 0,
'Digest::HMAC_SHA1' => 0,
}, # e.g., Module::Name => 1.1 }, # e.g., Module::Name => 1.1
( (
$] >= 5.005 $] >= 5.005
......
...@@ -21,7 +21,7 @@ requires: ...@@ -21,7 +21,7 @@ requires:
Lemonldap::NG::Common: 1.3.0 Lemonldap::NG::Common: 1.3.0
Lemonldap::NG::Handler: 1.3.0 Lemonldap::NG::Handler: 1.3.0
LWP::UserAgent: 0 LWP::UserAgent: 0
Test::Pod: 0 Test::Pod: 1
XML::LibXML: 0 XML::LibXML: 0
XML::LibXSLT: 0 XML::LibXSLT: 0
no_index: no_index:
......
...@@ -23,7 +23,7 @@ WriteMakefile( ...@@ -23,7 +23,7 @@ WriteMakefile(
'LWP::UserAgent' => 0, 'LWP::UserAgent' => 0,
'XML::LibXML' => 0, 'XML::LibXML' => 0,
'XML::LibXSLT' => 0, 'XML::LibXSLT' => 0,
'Test::Pod' => 0, 'Test::Pod' => 1.00,
}, # e.g., Module::Name => 1.1 }, # e.g., Module::Name => 1.1
( (
$] >= 5.005 $] >= 5.005
......
...@@ -9,8 +9,11 @@ distribution_type: module ...@@ -9,8 +9,11 @@ distribution_type: module
configure_requires: configure_requires:
ExtUtils::MakeMaker: 0 ExtUtils::MakeMaker: 0
build_requires: build_requires:
AuthCAS: 0
Crypt::OpenSSL::X509: 0 Crypt::OpenSSL::X509: 0
IO::String: 0 IO::String: 0
Net::OpenID::Consumer: 0
Net::OpenID::Server: 0
SOAP::Lite: 0 SOAP::Lite: 0
requires: requires:
Apache::Session: 0 Apache::Session: 0
...@@ -24,7 +27,7 @@ requires: ...@@ -24,7 +27,7 @@ requires:
MIME::Lite: 0 MIME::Lite: 0
Net::LDAP: 0 Net::LDAP: 0
String::Random: 0 String::Random: 0
Test::Pod: 0 Test::Pod: 1
URI: 0 URI: 0
no_index: no_index:
directory: directory:
...@@ -35,6 +38,7 @@ meta-spec: ...@@ -35,6 +38,7 @@ meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4 version: 1.4
recommends: recommends:
AuthCAS: 0
Convert::PEM: 0 Convert::PEM: 0
Crypt::OpenSSL::X509: 0 Crypt::OpenSSL::X509: 0
Email::Date::Format: 0 Email::Date::Format: 0
......
...@@ -9,6 +9,7 @@ WriteMakefile( ...@@ -9,6 +9,7 @@ WriteMakefile(
LICENSE => 'gpl', LICENSE => 'gpl',
META_MERGE => { META_MERGE => {
'recommends' => { 'recommends' => {
'AuthCAS' => 0,
'Convert::PEM' => 0, 'Convert::PEM' => 0,
'Crypt::OpenSSL::X509' => 0, 'Crypt::OpenSSL::X509' => 0,
'Email::Date::Format' => 0, 'Email::Date::Format' => 0,
...@@ -19,14 +20,17 @@ WriteMakefile( ...@@ -19,14 +20,17 @@ WriteMakefile(
}, },
}, },
BUILD_REQUIRES => { BUILD_REQUIRES => {
'Crypt::OpenSSL::X509' => 0, 'AuthCAS' => 0,
'IO::String' => 0, 'Crypt::OpenSSL::X509' => 0,
'SOAP::Lite' => 0, 'IO::String' => 0,
'Net::OpenID::Consumer' => 0,
'Net::OpenID::Server' => 0,
'SOAP::Lite' => 0,
}, },
PREREQ_PM => { PREREQ_PM => {
'Apache::Session' => 0, 'Apache::Session' => 0,
'Authen::Captcha' => 0, 'Authen::Captcha' => 0,
'CGI' => 3.08, 'CGI' => 3.08,
'File::Basename' => 0, 'File::Basename' => 0,
'HTML::Template' => 0, 'HTML::Template' => 0,
'Lemonldap::NG::Common' => '1.3.0', 'Lemonldap::NG::Common' => '1.3.0',
...@@ -34,7 +38,7 @@ WriteMakefile( ...@@ -34,7 +38,7 @@ WriteMakefile(
'MIME::Lite' => 0, 'MIME::Lite' => 0,
'Net::LDAP' => 0, 'Net::LDAP' => 0,
'String::Random' => 0, 'String::Random' => 0,
'Test::Pod' => 0, 'Test::Pod' => 1.00,
'Clone' => 0, 'Clone' => 0,
'URI' => 0, 'URI' => 0,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment