| Config::Model::Dpkg::DependencyList(3pm) | User Contributed Perl Documentation | Config::Model::Dpkg::DependencyList(3pm) |
NAME¶
Config::Model::Dpkg::DependencyList - Debian dependency list utilities
SYNOPSIS¶
# to be used in configuration model for Build-Depends
'Build-Depends' => {
type => 'list'
class => 'Config::Model::Dpkg::DependencyList',
cargo => { ... },
},
DESCRIPTION¶
This class is derived from Config::Model::AnyId. Its purpose is to provides utilities to manage Debian dependency list.
Methods¶
sort_algorithms¶
Returns a sub to be used to sort Dependencies like wrap-and-sort, i.e. with debhelper variables (e.g. "${misc:Depends}") first and regular packages after.
This method overrides "sort_algorithms" in Config::Model::ListId.
check_debhelper_compat_presence¶
Checks if dependency list contains "debhelper-compat" virtual package.
When called when applying fixes, this method pushes a new dependency like "debhelper-compat (= $current_compat_value)".
AUTHOR¶
Dominique Dumont, dod@debian.org
SEE ALSO¶
Config::Model, Config::Model::AnyId, Config::Model::Dpkg::Dependency,
| 2026-08-30 | perl v5.42.3 |