pmb.helpers.pkgrel_bump: !-deps are not missing (MR 2166)

Do not assume that conflicting dependencies are missing.

Fix for:
  Increase 'unl0kr' pkgrel (0 -> 1), missing depend(s): !osk-sdl

Related: https://gitlab.com/postmarketOS/monitoring/-/jobs/2058087076
This commit is contained in:
Oliver Smith 2022-02-05 11:51:28 +01:00
parent 47410eafb9
commit 5d3cbbdb86
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 4 additions and 0 deletions

View File

@ -81,6 +81,10 @@ def auto_apkindex_package(args, arch, aport, apk, dry=False):
", ".join(depends)))
missing = []
for depend in depends:
if depend.startswith("!"):
# Ignore conflict-dependencies
continue
providers = pmb.parse.apkindex.providers(args, depend, arch,
must_exist=False)
if providers == {}: