pmbootstrap/test/testdata
Minecrell 0e27713512
pmb.parse._apkbuild: Extend APKBUILD parser to work for subpackages (!1866)
At the moment we have a simple subpkgdesc() function that can only
parse "pkgdesc" from subpackages, without support for any variables.
But we have a quite nice variable parser now that can be extended
to work for subpackages.

Simply put this works by:
  - Finding the lines that belong to the subpackage function
  - Stripping indentation (tab)
  - Parsing relevant attributes similar to the apkbuild() function

The "subpackages" in the parsed APKBUILD are replaced by a dict
of subpkgname: {"pkgdesc": "...", "depends": "..."} which are
parsed from the subpackage function (if found).
This makes it possible to get the "depends" of a subpackage.
2020-02-19 14:56:57 +03:00
..
apkbuild pmb.parse._apkbuild: Extend APKBUILD parser to work for subpackages (!1866) 2020-02-19 14:56:57 +03:00
apkindex Skip virtual packages when parsing APKINDEX (#1278) 2018-03-10 13:15:30 +00:00
aportgen pmb/aportgen/gcc.py: add LANG_D=false (!1849) 2019-12-30 12:04:12 +01:00
bootimg Detect if DTB is placed in second area of Android boot image (!1828) 2019-10-25 17:36:22 +02:00
build_local_src pmbootstrap build --src: override source for any package (#1210) 2018-02-19 22:04:01 +00:00
init_questions_device/aports/device pmb.parse._apkbuild: Extend APKBUILD parser to work for subpackages (!1866) 2020-02-19 14:56:57 +03:00
pkgrel_bump/aports "pkgrel_bump --auto": Handle subpackages properly (#1388) 2018-04-15 21:34:40 +00:00
version Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00:00