aboutsummaryrefslogtreecommitdiff
path: root/lib/tools.nim
diff options
context:
space:
mode:
authorkitsunyan2018-06-02 02:40:23 +0000
committerkitsunyan2018-06-02 02:40:23 +0000
commit3edef649597b7669bd67b1e42680ac25068debc7 (patch)
treea92b1ddfa86048e8167c1c9ec8ee7c9cbc33a0dd /lib/tools.nim
parent5e2d49cdd52c8b9805136ba44cb66e8b5d4840fb (diff)
Update .SRCINFO parser
Some arrays may be provided by both pkgbase and pkgname. The following rules are applied now: 1. When pkgname has array items, array items from pkgbase are ignored. If pkgname provides only empty items (e.g. "group = "), that means array was erased for this pkgname in PKGBUILD. 2. The following arrays are extracted from pkgbase only: validpgpkeys, makedepends, checkdepends. 3. If pkgname's depends array is less that pkgbase's depends array, all missing items are considered as makedepends. For instance, pkgbase:depends=(p1 p2), pkgname:depends=(p1), then p2 becomes make dependency for pkgname.
Diffstat (limited to 'lib/tools.nim')
0 files changed, 0 insertions, 0 deletions