Package _emerge :: Module depgraph
[hide private]

Module depgraph

source code

Classes [hide private]
  basestring
str(object='') -> string
  long
int(x=0) -> int or long int(x, base=10) -> int or long
  _scheduler_graph_config
  _frozen_depgraph_config
  _depgraph_sets
  _rebuild_config
  _dynamic_depgraph_config
  depgraph
  _dep_check_composite_db
A dbapi-like interface that is optimized for use in dep_check() calls.
Functions [hide private]
 
_wildcard_set(atoms) source code
 
ambiguous_package_name(arg, atoms, root_config, spinner, myopts) source code
 
_spinner_start(spinner, myopts) source code
 
_spinner_stop(spinner) source code
 
backtrack_depgraph(settings, trees, myopts, myparams, myaction, myfiles, spinner)
Raises PackageSetNotFound if myfiles contains a missing package set.
source code
 
_backtrack_depgraph(settings, trees, myopts, myparams, myaction, myfiles, spinner) source code
 
resume_depgraph(settings, trees, mtimedb, myopts, myparams, spinner)
Raises PackageSetNotFound if myfiles contains a missing package set.
source code
tuple
_resume_depgraph(settings, trees, mtimedb, myopts, myparams, spinner)
Construct a depgraph for the given resume list.
source code
 
get_mask_info(root_config, cpv, pkgsettings, db, pkg_type, built, installed, db_keys, myrepo=None, _pkg_use_enabled=None) source code
 
show_masked_packages(masked_packages) source code
 
show_mask_docs() source code
 
show_blocker_docs_link() source code
 
get_masking_status(pkg, pkgsettings, root_config, myrepo=None, use=None) source code
 
_get_masking_status(pkg, pkgsettings, root_config, myrepo=None, use=None) source code
Variables [hide private]
  bad = create_color_func("BAD")
  __package__ = '_emerge'

Imports: collections, errno, io, logging, stat, sys, textwrap, warnings, deque, chain, portage, os, OrderedDict, _unicode_decode, _unicode_encode, _encodings, PORTAGE_PACKAGE_ATOM, USER_CONFIG_PATH, VCS_DIRS, dbapi, dep_expand, similar_name_search, Atom, best_match_to_list, extract_affecting_use, check_required_use, human_readable_required_use, match_from_list, _repo_separator, ignore_built_slot_operator_deps, eapi_has_strong_blocks, eapi_has_required_use, _get_eapi_attrs, InvalidAtom, InvalidData, InvalidDependString, PackageNotFound, PortageException, colorize, create_color_func, darkgreen, green, _get_feature_flags, _getmaskingstatus, _MaskReason, SETPREFIX, InternalPackageSet, ConfigProtect, shlex_split, new_protect_filename, cmp_sort_key, writemsg, writemsg_stdout, ensure_dirs, writemsg_level, write_atomic, digraph, TaskScheduler, EventLoop, global_event_loop, catpkgsplit, AtomArg, Blocker, BlockerCache, BlockerDepPriority, chk_updated_cfg_files, countdown, create_world_atom, Dependency, DependencyArg, DepPriority, DepPriorityNormalRange, DepPrioritySatisfiedRange, EbuildMetadataPhase, FakeVartree, _find_deep_system_runtime_deps, insert_category_into_atom, is_valid_package_atom, Package, PackageArg, PackageVirtualDbapi, RootConfig, search, SetArg, show_invalid_depstring_notice, UnmergeDepPriority, pkg_use_display, UserQuery, Backtracker, BacktrackParameter, PackageTracker, PackageTrackerDbapiWrapper, slot_conflict_handler, circular_dependency_handler, Display, format_unmatched_atom, _unicode


Function Details [hide private]

_resume_depgraph(settings, trees, mtimedb, myopts, myparams, spinner)

source code 

Construct a depgraph for the given resume list. This will raise PackageNotFound or depgraph.UnsatisfiedResumeDep when necessary. TODO: Return reasons for dropped_tasks, for display/logging.

Returns: tuple
(success, depgraph, dropped_tasks)