portage.util._dyn_libs.soname_deps_qa module¶
- portage.util._dyn_libs.soname_deps_qa._get_all_provides(vardb)¶
Get all of the sonames provided by all of the installed packages. This does not bother to acquire a lock, since its pretty safe to assume that any packages merged or unmerged while this function is running must be irrelevant.
- Parameters
vardb (vardbapi) – an installed package database
- Return type
frozenset
- Returns
a frozenset od SonameAtom instances provided by all installed packages
- portage.util._dyn_libs.soname_deps_qa._get_unresolved_soname_deps(metadata_dir, all_provides)¶
Get files with unresolved soname dependencies.
- Parameters
metadata_dir (str) – directory containing package metadata files named REQUIRES and NEEDED.ELF.2
all_provides (frozenset) – a frozenset on SonameAtom instances provided by all installed packages
- Return type
list
- Returns
list of tuple(filename, tuple(unresolved sonames))