From d5490ca81fec08bad27414979305cc9a50c56edd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 25 Aug 2010 18:49:33 -0700 Subject: Add ebuild(1) support for FEATURES=digest. --- bin/ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/ebuild b/bin/ebuild index 9ce058b5c..a419d264b 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -1,5 +1,5 @@ #!/usr/bin/python -O -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from __future__ import print_function @@ -263,6 +263,11 @@ def stale_env_warning(): from portage.exception import PermissionDenied, \ PortagePackageException, UnsupportedAPIException + +if 'digest' in tmpsettings.features and \ + not set(["digest", "manifest"]).intersection(pargs): + pargs = ['digest'] + pargs + checked_for_stale_env = False for arg in pargs: -- cgit v1.2.3-1-g7c22