skip build/test dependencies to show up in conflicts/requries

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-01-30 18:46:50 +01:00
parent 867252db23
commit f273d7d8f3

View file

@ -81,6 +81,10 @@ for f in files:
for dep in md["dependencies"]: for dep in md["dependencies"]:
if dep["optional"]: if dep["optional"]:
continue continue
if dep["kind"] is not None:
# kind: build -> build dependencies
# kind: dev -> test dependencies
continue
req, con = parse_req(dep["req"]) req, con = parse_req(dep["req"])
assert req is not None assert req is not None
if args.requires: if args.requires: