diff options
-rwxr-xr-x | tinderbox.py | 9 |
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 |