Config...ncyList(3pm)
π Config::Model::Dpkg::DependencyList β the perl one, 3pm section, bestie π
okay so you found the manual page for Config::Model::Dpkg::DependencyList and honestly? iconic of you. this is the little helper that deals with Debian dependency lists, and i'm gonna walk you through it like we're texting at 2am. no cap, every single detail is staying. periodt. π
β¨ NAME β¨
Config::Model::Dpkg::DependencyList β Debian dependency list utilities π¦
πΈ SYNOPSIS πΈ
here's the vibe, literally use it inside a configuration model for Build-Depends:
# to be used in configuration model for Build-Depends
'Build-Depends' => {
type => 'list'
class => 'Config::Model::Dpkg::DependencyList',
cargo => { ... },
},
copy that exactly, ok? don't be out here "fixing" things, i see you π
π DESCRIPTION π
so this class is derived from Config::Model::AnyId. its whole purpose β its main character era, if you will β is to provide utilities to manage Debian dependency list. that's the job, that's the assignment, and it ate. π₯
π§ 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. so yeah, it's doing its own thing and it's lowkey better for it π
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)
so it's not just checking β it's fixing too. multi-talented fr fr. π
π AUTHOR π
Dominique Dumont, dod@debian.org β absolute legend, we love to see it π«Ά
π SEE ALSO π
Config::ModelConfig::Model::AnyIdConfig::Model::Dpkg::Dependency
go read those too, iykyk π
okay bestie that's the whole page and you slayed it π this was written by Dominique Dumont, per the author section, and the whole thing comes to you from perl v5.42.3, dated 2026-08-30. so like, fresh, current, and iconic. mwah. πβ¨
π¦ where this page comes from
- ubuntu stonking: libconfig-model-dpkg-perl 3.026 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms