Skip to content

Commit

Permalink
Issue #205: add Locale::CLDR as an optional dependency
Browse files Browse the repository at this point in the history
Include it in the Docker image
  • Loading branch information
bschmalhofer committed Dec 9, 2023
1 parent aa872e3 commit 16d44fe
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bin/otobo.CheckModules.pl
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ =head1 DESCRIPTION
'devel:test' => 1,
'devel:i18n' => 1,
'div:bcrypt' => 1,
'div:cldr' => 1,
'div:ldap' => 1,
'div:xslt' => 1,
'gazelle' => 1,
Expand Down Expand Up @@ -1037,6 +1038,18 @@ =head1 DESCRIPTION
ports => 'security/p5-Crypt-Eksblowfish',
},
},
{
Module => 'Locale::CLDR',
Features => ['div:cldr'],
VersionRequired => '0.34.3',
Comment => 'localisation from the CLDR project',
InstTypes => {
aptget => undef, # not in any Debian package
emerge => undef,
zypper => undef,
ports => undef,
},
},
{
Module => 'XML::LibXSLT',
Features => ['div:xslt'],
Expand Down
9 changes: 9 additions & 0 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ feature 'div:bcrypt', 'Support for feature div:bcrypt' => sub {

};

feature 'div:cldr', 'Support for feature div:cldr' => sub {
# localisation from the CLDR project
requires 'Locale::CLDR', ">= 0.34.3";

};

feature 'div:hanextra', 'Support for feature div:hanextra' => sub {
# Required to handle mails with several Chinese character sets.
requires 'Encode::HanExtra', ">= 0.23";
Expand Down Expand Up @@ -350,6 +356,9 @@ feature 'optional', 'Support for feature optional' => sub {
# For strong password hashing.
requires 'Crypt::Eksblowfish::Bcrypt';

# localisation from the CLDR project
requires 'Locale::CLDR', ">= 0.34.3";

# Required for Generic Interface XSLT mapping module.
requires 'XML::LibXSLT';

Expand Down
6 changes: 6 additions & 0 deletions cpanfile.docker
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ requires 'Const::Fast';

# };

# feature 'div:cldr', 'Support for feature div:cldr' => sub {
# localisation from the CLDR project
requires 'Locale::CLDR', ">= 0.34.3";

# };

# Feature 'div:hanextra' is not needed for Docker


Expand Down

0 comments on commit 16d44fe

Please sign in to comment.