Allow a list of packages to install to be set `True` to skip installation.
This can allow a dependency to be marked as installed even if there is nothing to install.
This commit is contained in:
parent
9cd8fae632
commit
a282bd8ce3
|
@ -136,8 +136,10 @@ class Builder:
|
|||
package_name_mapper = PACKAGE_NAME_MAPPERS.get(mapper_name, {})
|
||||
packages = package_name_mapper.get(builderName)
|
||||
if packages:
|
||||
packages_list += packages
|
||||
to_drop.append(builderDef)
|
||||
if packages is not True:
|
||||
# True means "assume the dependency is install but do not try to install anything for it"
|
||||
packages_list += packages
|
||||
for dep in to_drop:
|
||||
del self._targets[dep]
|
||||
return packages_list
|
||||
|
|
Loading…
Reference in New Issue