forked from Mirror/pmbootstrap
pmbootstrap: handle checkdepends (#1533)
This commit is contained in:
parent
30706a07c4
commit
5edabd4d17
3 changed files with 10 additions and 7 deletions
|
@ -97,6 +97,8 @@ def get_depends(args, apkbuild):
|
|||
"""
|
||||
# Read makedepends and depends
|
||||
ret = list(apkbuild["makedepends"])
|
||||
if "!check" not in apkbuild["options"]:
|
||||
ret += apkbuild["checkdepends"]
|
||||
if "ignore_depends" not in args or not args.ignore_depends:
|
||||
ret += apkbuild["depends"]
|
||||
ret = sorted(set(ret))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue