Skip to content

Close #195: Ignore parameters in dependencies

postmarketOS Bot requested to merge fix/dependeny-parsing-ignore-operators into master

Created by: ollieparanoid

Please test this branch for a while, doing a full installation or so, so there is enough time to uncover potential bugs. It works fine for me. @PureTryOut: I'd also be happy if you could test it, because it should fix the bug you reported :)


  • Ignore >, <, = and ! operators, when they are specified in the dependencies. This was the desired behavior before, but it was not implemented correctly (so it wouldn't ignore them everywhere). Of course the real fix would be to honor these operators like apk does. But this isn't feasible right now, and it should work for most, if not all, our use-cases. I have documented this in the wiki under build internals and if we happen to need correct operator handling, we should do it then.

Minor other changes:

  • pmbootstrap parse_apkindex: support optional package parameter to only show the parsed content for one package.
  • Support building most python APKBUILDs by replacing ${pkgname#py-} properly

Merge request reports