if strict:
return 0
mf = Manifest(pkgdir, mysettings["DISTDIR"])
- codes = output.codes
- okaymsg = "%s[%s %sOK%s %s]%s\n" % (codes["BRACKET"], codes["reset"],
- codes["GOOD"], codes["reset"], codes["BRACKET"], codes["reset"])
- mywidth = 33
+ okaymsg = " ;-)\n"
try:
- writemsg_stdout(">>> checking ebuild checksums ;-)".ljust(mywidth))
+ writemsg_stdout(">>> checking ebuild checksums")
mf.checkTypeHashes("EBUILD")
writemsg_stdout(okaymsg)
- writemsg_stdout(">>> checking auxfile checksums ;-)".ljust(mywidth))
+ writemsg_stdout(">>> checking auxfile checksums")
mf.checkTypeHashes("AUX")
writemsg_stdout(okaymsg)
- writemsg_stdout(">>> checking miscfile checksums ;-)".ljust(mywidth))
+ writemsg_stdout(">>> checking miscfile checksums")
mf.checkTypeHashes("MISC", ignoreMissingFiles=True)
writemsg_stdout(okaymsg)
- writemsg_stdout(">>> checking distfiles checksums ;-)".ljust(mywidth))
for f in myfiles:
+ writemsg_stdout(">>> checking %s" % f)
mf.checkFileHashes(mf.findFile(f), f)
- writemsg_stdout(okaymsg)
+ writemsg_stdout(okaymsg)
except portage_exception.DigestException, e:
writemsg("\n!!! Digest verification failed:\n")
writemsg("!!! %s\n" % e.value[0])