From: Zac Medico Date: Fri, 4 Feb 2011 17:23:12 +0000 (-0800) Subject: ebuild(1): skip REQUIRED_USE for some phases X-Git-Tag: v2.2.0_alpha20~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cc26e6eeb8d3046f8e928c4e37b1d390c80c0c35;p=portage.git ebuild(1): skip REQUIRED_USE for some phases --- diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index 2eb9f11bc..5272f234c 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -1057,7 +1057,9 @@ def _validate_deps(mysettings, myroot, mydo, mydbapi): if mydo not in invalid_dep_exempt_phases: return 1 - if not pkg.built and pkg.metadata["REQUIRED_USE"] and \ + if not pkg.built and \ + mydo not in ("digest", "help", "manifest") and \ + pkg.metadata["REQUIRED_USE"] and \ eapi_has_required_use(pkg.metadata["EAPI"]): result = check_required_use(pkg.metadata["REQUIRED_USE"], pkg.use.enabled, pkg.iuse.is_valid_flag)