_emerge.actions module¶
- _emerge.actions._calc_depclean(settings, trees, ldpath_mtimes, myopts, action, args_set, spinner)¶
- class _emerge.actions._depclean_result(returncode, cleanlist, ordered, req_pkg_count, depgraph)¶
Bases:
tuple
- _asdict()¶
Return a new dict which maps field names to their values.
- _field_defaults = {}¶
- _fields = ('returncode', 'cleanlist', 'ordered', 'req_pkg_count', 'depgraph')¶
- classmethod _make(iterable)¶
Make a new _depclean_result object from a sequence or iterable
- _replace(**kwds)¶
Return a new _depclean_result object replacing specified fields with new values
- cleanlist¶
Alias for field number 1
- count(value, /)¶
Return number of occurrences of value.
- depgraph¶
Alias for field number 4
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
- ordered¶
Alias for field number 2
- req_pkg_count¶
Alias for field number 3
- returncode¶
Alias for field number 0
- class _emerge.actions._emerge_config(**kwargs)¶
Bases:
portage.util.SlotObject.SlotObject
- action¶
- args¶
- copy()¶
Create a new instance and copy all attributes defined from __slots__ (including those from inherited classes).
- opts¶
- running_config¶
- target_config¶
- trees¶
- class _emerge.actions._info_pkgs_ver(ver, repo_suffix, provide_suffix)¶
Bases:
object
- toString()¶
This may return unicode if repo_name contains unicode. Don’t use __str__ and str() since unicode triggers compatibility issues between python 2.x and 3.x.
- _emerge.actions.action_build(emerge_config, trees=<class 'DeprecationWarning'>, mtimedb=<class 'DeprecationWarning'>, myopts=<class 'DeprecationWarning'>, myaction=<class 'DeprecationWarning'>, myfiles=<class 'DeprecationWarning'>, spinner=None)¶
- _emerge.actions.action_config(settings, trees, myopts, myfiles)¶
- _emerge.actions.action_depclean(settings, trees, ldpath_mtimes, myopts, action, myfiles, spinner, scheduler=None)¶
- _emerge.actions.action_deselect(settings, trees, opts, atoms)¶
- _emerge.actions.action_info(settings, trees, myopts, myfiles)¶
- _emerge.actions.action_regen(settings, portdb, max_jobs, max_load)¶
- _emerge.actions.action_search(root_config, myopts, myfiles, spinner)¶
- _emerge.actions.action_sync(emerge_config, trees=<class 'DeprecationWarning'>, mtimedb=<class 'DeprecationWarning'>, opts=<class 'DeprecationWarning'>, action=<class 'DeprecationWarning'>)¶
- _emerge.actions.action_uninstall(settings, trees, ldpath_mtimes, opts, action, files, spinner)¶
- _emerge.actions.adjust_config(myopts, settings)¶
Make emerge specific adjustments to the config.
- _emerge.actions.adjust_configs(myopts, trees)¶
- _emerge.actions.apply_priorities(settings)¶
- _emerge.actions.calc_depclean(settings, trees, ldpath_mtimes, myopts, action, args_set, spinner)¶
- _emerge.actions.check_procfs()¶
- _emerge.actions.config_protect_check(trees)¶
- _emerge.actions.display_missing_pkg_set(root_config, set_name)¶
- _emerge.actions.ensure_required_sets(trees)¶
- _emerge.actions.expand_set_arguments(myfiles, myaction, root_config)¶
- _emerge.actions.get_missing_sets(root_config)¶
- _emerge.actions.getgccversion(chost=None)¶
rtype:
str
return: the current in-use gcc version
- _emerge.actions.getportageversion(portdir, _unused, profile, chost, vardb)¶
- _emerge.actions.ionice(settings)¶
- _emerge.actions.load_emerge_config(emerge_config=None, env=None, **kargs)¶
- _emerge.actions.missing_sets_warning(root_config, missing_sets)¶
- _emerge.actions.nice(settings)¶
- _emerge.actions.relative_profile_path(portdir, abs_profile)¶
- _emerge.actions.repo_name_check(trees)¶
- _emerge.actions.repo_name_duplicate_check(trees)¶
- _emerge.actions.run_action(emerge_config)¶
- _emerge.actions.setconfig_fallback(root_config)¶
- _emerge.actions.validate_ebuild_environment(trees)¶