Dependencies are duplicated in `bst show --format %{deps}`
Summary
The %{deps}
format option claims to give a list of all dependencies. However, if a dependency is both a build and runtime dependency, it is currently printed twice.
Steps to reproduce
$ bst -C doc/examples/autotools show --format "%{name} %{deps}"
base/alpine.bst []
base.bst [base/alpine.bst, base/alpine.bst]
hello.bst [base.bst, base.bst]
Note that base.bst
and base/alpine.bst
are repeated twice in the respective output lines.
What is the current bug behavior?
Elements that are both build and runtime dependencies are listed twice.
What is the expected correct behavior?
They are deduplicated.