daklib.packagelist
parse Package-List field
@copyright: 2014, Ansgar Burchardt <ansgar@debian.org>
@license: GPL-2+
Classes
Exceptions
-
exception daklib.packagelist.InvalidSource[source]
-
class daklib.packagelist.PackageList(source: Mapping[str, str] | MetadataProxy)[source]
-
_binaries(source: Mapping[str, str] | MetadataProxy) → set[str][source]
-
_parse(source: Mapping[str, str] | MetadataProxy) → list[PackageListEntry][source]
-
_parse_fallback(source: Mapping[str, str] | MetadataProxy) → list[PackageListEntry][source]
-
has_arch_dep_packages() → bool | None[source]
-
has_arch_indep_packages() → bool | None[source]
-
packages_for_suite(suite: Suite, only_default_profile=True) → list[PackageListEntry][source]
-
class daklib.packagelist.PackageListEntry(name: str, package_type: str | None, section: str | None, component: str | None, priority: str | None, **other: str)[source]
-
_architectures() → list[str] | None[source]
-
built_in_default_profile() → bool[source]
-
built_in_suite(suite: Suite) → bool | None[source]
-
built_on_architecture(architecture: str) → bool | None[source]