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 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.

property eclass_locations_string
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