Config...ncyList(3pm)

πŸ“¦ version 3.026, in ubuntu stonking

πŸ’– 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::Model
  • Config::Model::AnyId
  • Config::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