projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa5481c
)
ebuild(1): skip REQUIRED_USE for some phases
author
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Feb 2011 17:23:12 +0000
(09:23 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Feb 2011 17:46:17 +0000
(09:46 -0800)
pym/portage/package/ebuild/doebuild.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/doebuild.py
b/pym/portage/package/ebuild/doebuild.py
index 2eb9f11bc6d32b4c4ae2318368570889552eca8d..5272f234cd12bf3447469d95c8ac07c847ebee9c 100644
(file)
--- 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)