Commit 90618a4d authored by Clément OUDOT's avatar Clément OUDOT

Manage minimum versions for LL::NG modules cross dependencies (#283)

parent 92fec3a3
......@@ -20,11 +20,11 @@ EOT
}
WriteMakefile(
NAME => 'Lemonldap::NG::Common',
VERSION_FROM => 'lib/Lemonldap/NG/Common.pm', # finds $VERSION
LICENSE => 'perl',
NAME => 'Lemonldap::NG::Common',
VERSION_FROM => 'lib/Lemonldap/NG/Common.pm', # finds $VERSION
LICENSE => 'perl',
BUILD_REQUIRES => { 'IO::String' => 0, },
PREREQ_PM => {
PREREQ_PM => {
'Cache::Cache' => 0,
'CGI' => 3.08,
'Config::IniFiles' => 0,
......@@ -35,15 +35,16 @@ WriteMakefile(
'SOAP::Lite' => 0,
'Storable' => 0,
'XML::Simple' => 0,
}, # e.g., Module::Name => 1.1
#EXE_FILES => [ 'scripts/convertConfig', ],
}, # e.g., Module::Name => 1.1
#EXE_FILES => [ 'scripts/convertConfig', ],
(
$] >= 5.005
? ## Add these new keywords supported since 5.005
(
ABSTRACT_FROM =>
'lib/Lemonldap/NG/Common.pm', # retrieve abstract from module
AUTHOR => 'Xavier Guimard <x.guimard@free.fr>, Clément Oudot <clement@oodo.net>'
AUTHOR =>
'Xavier Guimard <x.guimard@free.fr>, Clément Oudot <clement@oodo.net>'
)
: ()
),
......
......@@ -9,14 +9,18 @@ distribution_type: module
configure_requires:
ExtUtils::MakeMaker: 0
build_requires:
IO::Pipe: 0
Digest::SHA1: 0
IO::Pipe: 0
Test::MockObject: 0
requires:
Apache::Session: 0
Cache::Cache: 0
CGI: 3.08
Digest::SHA1: 0
IO::Pipe: 0
Lemonldap::NG::Common: 0.96
LWP::UserAgent: 0
Test::MockObject: 0
URI: 0
no_index:
directory:
......
......@@ -8,13 +8,10 @@ WriteMakefile(
VERSION_FROM => 'lib/Lemonldap/NG/Handler.pm',
LICENSE => 'perl',
PMLIBDIRS => ['lib'],
META_MERGE => {
'recommends' => {
'SOAP::Lite' => 0,
},
},
BUILD_REQUIRES => { 'IO::Pipe' => 0, },
PREREQ_PM => {
META_MERGE => { 'recommends' => { 'SOAP::Lite' => 0, }, },
BUILD_REQUIRES =>
{ 'IO::Pipe' => 0, 'Test::MockObject' => 0, 'Digest::SHA1' => 0 },
PREREQ_PM => {
'Apache::Session' => 0,
'LWP::UserAgent' => 0,
'Cache::Cache' => 0,
......
......@@ -22,9 +22,7 @@ requires:
HTML::Template: 0
IO::String: 0
JSON: 0
Lemonldap::NG::Common: 0.96
Lemonldap::NG::Handler: 0.93
LWP::UserAgent: 0
Lemonldap::NG::Common:  @ echo Lemonldap::NG::Handler:  @ echo LWP::UserAgent: 0
XML::LibXML: 0
XML::LibXSLT: 0
XML::Simple: 0
......
......@@ -4,22 +4,22 @@ use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
NAME => 'Lemonldap::NG::Manager',
VERSION_FROM => 'lib/Lemonldap/NG/Manager.pm', # finds $VERSION
LICENSE => 'perl',
NAME => 'Lemonldap::NG::Manager',
VERSION_FROM => 'lib/Lemonldap/NG/Manager.pm', # finds $VERSION
LICENSE => 'perl',
BUILD_REQUIRES => {
'Convert::PEM' => 0,
'Crypt::OpenSSL::RSA' => 0,
'Crypt::OpenSSL::X509' => 0,
'IO::String' => 0,
},
PREREQ_PM => {
PREREQ_PM => {
'CGI' => 3.08,
'File::Basename' => 0,
'HTML::Template' => 0,
'JSON' => 0,
'Lemonldap::NG::Common' => 0.96,
'Lemonldap::NG::Handler' => 0.93,
'Lemonldap::NG::Common' => 1.0.3,
'Lemonldap::NG::Handler' => 1.0.3,
'LWP::UserAgent' => 0,
'XML::LibXML' => 0,
'XML::LibXSLT' => 0,
......
......@@ -18,9 +18,7 @@ requires:
File::Basename: 0
HTML::Template: 0
IO::String: 0
Lemonldap::NG::Common: 0.96
Lemonldap::NG::Handler: 0.93
MIME::Lite: 0
Lemonldap::NG::Common:  @ echo Lemonldap::NG::Handler:  @ echo MIME::Lite: 0
Net::LDAP: 0
String::Random: 0
XML::LibXML: 0
......
......@@ -27,9 +27,9 @@ WriteMakefile(
'CGI' => 3.08,
'File::Basename' => 0,
'HTML::Template' => 0,
'Lemonldap::NG::Common' => 0.96,
'Lemonldap::NG::Handler' => 0.93,
'MIME::Lite' => 0,
'Lemonldap::NG::Common' => 1.0.3,
'Lemonldap::NG::Handler' => 1.0.3,
'MIME::Lite' => 0,
'Net::LDAP' => 0,
'String::Random' => 0,
'XML::LibXML' => 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