portage.eclass_cache module

class portage.eclass_cache.cache(porttree_root, overlays=None)

Bases: object

Maintains the cache information about eclasses used in ebuild.

append(other)

Append another instance to this instance. This will cause eclasses from the other instance to override any eclasses from this instance that have the same name.

copy()
property eclass_locations_string
get_eclass_data(inherits)
update_eclasses()
validate_and_rewrite_cache(ec_dict, chf_type, stores_paths)

This will return an empty dict if the ec_dict parameter happens to be empty, therefore callers must take care to distinguish between empty dict and None return values.

class portage.eclass_cache.hashed_path(location)

Bases: object