[entropy] metadata QA hook: exclude conflicts

This commit is contained in:
Fabio Erculiani 2011-08-19 16:24:14 +02:00
parent c439d4197e
commit 4ba1f29653

View File

@ -63,7 +63,8 @@ def check_unwanted_deps():
"dev-lang/gnat-gcc"] "dev-lang/gnat-gcc"]
func_rc = 0 func_rc = 0
pkg_deps = dict((entropy.dep.dep_getkey(x), x) for x in pkg_deps.split()) pkg_deps = dict((entropy.dep.dep_getkey(x), x) for x in pkg_deps.split() if \
not x.startswith("!"))
for unwanted_dep in unwanted_deps: for unwanted_dep in unwanted_deps:
if unwanted_dep in pkg_deps: if unwanted_dep in pkg_deps:
sys.stderr.write("\nATTENTION ATTENTION ATTENTION\n") sys.stderr.write("\nATTENTION ATTENTION ATTENTION\n")