diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-02-04 09:23:12 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-02-04 09:46:17 -0800 |
commit | 51e6dfb76d9051d1f0190a2cdb0e4e7a04a6f5b7 (patch) | |
tree | e910cd7a9aad669c312a798f5ffdf88c06234f40 | |
parent | ebuild(1): ensure REQUIRED_USE is satisfied (diff) | |
download | portage-51e6dfb76d9051d1f0190a2cdb0e4e7a04a6f5b7.tar.gz portage-51e6dfb76d9051d1f0190a2cdb0e4e7a04a6f5b7.tar.bz2 portage-51e6dfb76d9051d1f0190a2cdb0e4e7a04a6f5b7.zip |
ebuild(1): skip REQUIRED_USE for some phases
-rw-r--r-- | pym/portage/package/ebuild/doebuild.py | 4 |
1 files changed, 3 insertions, 1 deletions
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) |