portage.package.ebuild.digestgen module

portage.package.ebuild.digestgen.digestgen(myarchives=None, mysettings=None, myportdb=None)

Generates a digest file if missing. Fetches files if necessary. NOTE: myarchives and mysettings used to be positional arguments,

so their order must be preserved for backward compatibility.

  • mysettings (config) – the ebuild config (mysettings[“O”] must correspond to the ebuild’s parent directory)

  • myportdb (portdbapi) – a portdbapi instance

Return type



1 on success and 0 on failure