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

This commit is contained in:
Clément Oudot 2011-03-07 09:14:33 +00:00
parent 92fec3a326
commit 90618a4d6a
7 changed files with 28 additions and 30 deletions

View File

@ -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>'
)
: ()
),

View File

@ -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:

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,