Module digestgen
source code
|
|
digestgen(myarchives=None,
mysettings=None,
myportdb=None)
Generates a digest file if missing. |
source code
|
|
|
|
__package__ = 'portage.package.ebuild'
|
Imports:
errno,
portage,
os,
MANIFEST2_REQUIRED_HASH,
FetchlistDict,
use_reduce,
InvalidDependString,
FileNotFound,
PermissionDenied,
PortagePackageException,
_,
colorize,
fetch,
writemsg,
writemsg_stdout,
catsplit,
spawn_nofetch
digestgen(myarchives=None,
mysettings=None,
myportdb=None)
| source code
|
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.
@param mysettings: the ebuild config (mysettings["O"] must correspond
to the ebuild's parent directory)
@type mysettings: config
@param myportdb: a portdbapi instance
@type myportdb: portdbapi
@rtype: int
@return: 1 on success and 0 on failure
|