[Koha-patches] [PATCH] Enhancement [3.4] Add separate Perl module verification script
Galen Charlton
gmcharlt at gmail.com
Fri Feb 19 12:37:02 CET 2010
Hi,
On Fri, Feb 19, 2010 at 2:23 AM, Chris Nighswonger
<cnighswonger at foundations.edu> wrote:
> +our $PREREQ_PM = {
> + 'Algorithm::CheckDigits' => 0.50,
> + 'Authen::CAS::Client' => 0.05,
Good start. In order to set the groundwork for the future, I suggest
changing the structure a bit to something like this:
our $DEP_MODULES = {
'Algorithm::CheckDigits' => { minVersion => 0.50 },
'Authen::CAS::Client' => { minVersion => 0.05 },
...
and writing a routine to generate the PREREQ_PM hash needed by
Makefile.PL. Why the change? So we can do this later:
our $DEP_MODULES = {
'Algorithm::CheckDigits' => {
minVersion => 0.50,
required => 1,
packages => { debian => ... , opensuse => .... },
},
'Authen::CAS::Client' => {
minVersion => 0.05,
required => 0,
supportsFeature => 'cas_authentication',
},
... &c.
Regards,
Galen
--
Galen Charlton
gmcharlt at gmail.com
More information about the Koha-patches
mailing list