From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RESMN-0006Lb-T7 for garchives@archives.gentoo.org; Thu, 13 Oct 2011 20:58:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4832A21C025; Thu, 13 Oct 2011 20:58:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1705321C025 for ; Thu, 13 Oct 2011 20:58:28 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 882431B401A for ; Thu, 13 Oct 2011 20:58:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id B747E80042 for ; Thu, 13 Oct 2011 20:58:26 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/package/ebuild/digestcheck.py X-VCS-Directories: pym/portage/package/ebuild/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: a27f3f3058fdbdaca2bcb838aca02ffc4e32007a Date: Thu, 13 Oct 2011 20:58:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 41bf215bb2393746c2b41d7cc59064fc commit: a27f3f3058fdbdaca2bcb838aca02ffc4e32007a Author: Zac Medico gentoo org> AuthorDate: Thu Oct 13 20:58:16 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Oct 13 20:58:16 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Da27f3f30 digestcheck: handle allow_missing for distfiles --- pym/portage/package/ebuild/digestcheck.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/pym/portage/package/ebuild/digestcheck.py b/pym/portage/pack= age/ebuild/digestcheck.py index 067aacc..3b22b1d 100644 --- a/pym/portage/package/ebuild/digestcheck.py +++ b/pym/portage/package/ebuild/digestcheck.py @@ -52,6 +52,8 @@ def digestcheck(myfiles, mysettings, strict=3DFalse, ju= stmanifest=3DNone, mf=3DNone): eout.ebegin(_("checking %s ;-)") % f) ftype =3D mf.findFile(f) if ftype is None: + if mf.allow_missing: + continue eout.eend(1) writemsg(_("\n!!! Missing digest for '%s'\n") % (f,), noiselevel=3D-1)