forked from Mirror/pmbootstrap
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 |
||
---|---|---|
.. | ||
__init__.py | ||
_apkbuild.py | ||
apkindex.py | ||
arch.py | ||
arguments.py | ||
binfmt_info.py | ||
bootimg.py | ||
depends.py | ||
deviceinfo.py | ||
kconfig.py | ||
version.py |