pmbootstrap-meow/pmb/parse
Minecrell 5f5050f9a3
pmb.parse._apkbuild: Replace variables immediately after parsing (!1866)
At the moment we parse all attributes, split them, and eventually
join them back together for variable replacement.

Replacing variables immediately after parsing (before splitting)
has several advantages:

  - No need to handle different value types
    (e.g. lists by joining them every time they are accessed)

  - Variables like depends="$depends ..." are handled directly
    by the variable parser

  - APKBUILDs are shell scripts, so we match abuild more closely
    if variables defined later do not affect previous attributes
2020-02-19 14:56:46 +03:00
..
__init__.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
_apkbuild.py pmb.parse._apkbuild: Replace variables immediately after parsing (!1866) 2020-02-19 14:56:46 +03:00
apkindex.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
arch.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
arguments.py aportupgrade command for upgrading APKBUILDs (!1752) 2020-02-15 20:24:09 +01:00
binfmt_info.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
bootimg.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
depends.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
deviceinfo.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
kconfig.py Change copyright to 2020 2020-01-06 02:43:00 +01:00
version.py Change copyright to 2020 2020-01-06 02:43:00 +01:00