pkgcheck.addons package¶
Submodules¶
- pkgcheck.addons.caches module
- pkgcheck.addons.eclass module
- pkgcheck.addons.git module
- pkgcheck.addons.net module
- pkgcheck.addons.profiles module
Module contents¶
Addon functionality shared by multiple checkers.
- class pkgcheck.addons.ArchesAddon(options, **kwargs)[source]¶
Bases:
Addon
Addon supporting ebuild repository architectures.
- class pkgcheck.addons.ArchesArgs(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]¶
Bases:
CommaSeparatedNegations
Parse arches args for the ArchesAddon.
- class pkgcheck.addons.KeywordsAddon(*args)[source]¶
Bases:
Addon
Addon supporting various keywords sets.
- class pkgcheck.addons.NetAddon(*args)[source]¶
Bases:
Addon
Addon supporting network functionality.
- classmethod mangle_argparser(parser)[source]¶
Add extra options and/or groups to the argparser.
This hook is always triggered, even if the checker is not activated (because it runs before the commandline is parsed).
- Parameters:
parser – an C{argparse.ArgumentParser} instance.
- property session¶
- class pkgcheck.addons.StableArchesAddon(options, **kwargs)[source]¶
Bases:
Addon
Addon supporting stable architectures.
- classmethod mangle_argparser(parser)[source]¶
Add extra options and/or groups to the argparser.
This hook is always triggered, even if the checker is not activated (because it runs before the commandline is parsed).
- Parameters:
parser – an C{argparse.ArgumentParser} instance.
- required_addons = (<class 'pkgcheck.addons.ArchesAddon'>,)¶
- class pkgcheck.addons.UnstatedIuse(attr, flags, profile=None, num_profiles=None, **kwargs)[source]¶
Bases:
VersionResult
,Error
Package is reliant on conditionals that aren’t in IUSE.
- property desc¶
Result description.
- name = 'UnstatedIuse'¶