summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-06-21 12:47:49 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-06-21 12:47:49 +0200
commit327c6663785dc1957d42714fc774ef777760302d (patch)
tree52360ad72b165512395ca1c1af0390a44f7a7b84
parentAlso cat aclocal.out if present. (diff)
downloadflameeyes-tinderbox-327c6663785dc1957d42714fc774ef777760302d.tar.gz
flameeyes-tinderbox-327c6663785dc1957d42714fc774ef777760302d.tar.bz2
flameeyes-tinderbox-327c6663785dc1957d42714fc774ef777760302d.zip
Output REQUIRED_USE conflicts as well as unsatisfied USE deps.
-rwxr-xr-xtinderbox.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tinderbox.py b/tinderbox.py
index ab78a29..3c4a37f 100755
--- a/tinderbox.py
+++ b/tinderbox.py
@@ -129,6 +129,15 @@ for cp in portdb.cp_all():
print cp
for cpv in good_pkgs:
+
+ required_use, use = fakedb.aux_get(cpv, ["REQUIRED_USE", "USE"])
+ if required_use:
+ req_use_check = portage.dep.check_required_use(required_use,
+ set(use.split()), lambda x: True)
+ if not req_use_check:
+ sys.stderr.write("%s has unsatisfied REQUIRED_USE=\"%s\" with"
+ " USE=\"%s\"\n" % (cpv, req_use_check.tounicode(), use))
+
for atom in deps[cpv]:
if atom.blocker:
continue