Skip to content

apkbuild parser: support depends="$depends ..."

Oliver Smith requested to merge depends-in-depends into master

Properly handle the following two cases in APKBUILDs:

  • depends="$depends ..."
  • depends="${depends} ..."

First I've attempted to refactor the parsing code to do this in a more generic way. But I've realized that it would make more sense to retire the python based APKBUILD parsing approach altogether and finally use a shell script parser. Let's discuss this in #1801 (closed), and get this simple version merged in the meantime.

Fixes #1800 (closed).

Related: attached image

Edited by Oliver Smith

Merge request reports