[arch-projects] [namcap][PATCH] Add support for new validpgpkeys array
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> --- Namcap/rules/arrays.py | 2 +- Namcap/rules/extravars.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Namcap/rules/arrays.py b/Namcap/rules/arrays.py index 5462986..e970d3a 100644 --- a/Namcap/rules/arrays.py +++ b/Namcap/rules/arrays.py @@ -29,7 +29,7 @@ class package(PkgbuildRule): arrayvars = ['arch', 'license', 'depends', 'makedepends', 'optdepends', 'checkdepends', 'provides', 'conflicts' , 'replaces', 'backup', 'source', 'noextract', 'md5sums', - 'sha1sums', 'sha256sums', 'sha384sums', 'sha512sums'] + 'sha1sums', 'sha256sums', 'sha384sums', 'sha512sums', 'validpgpkeys'] for i in pkginfo.pkgbuild: m = re.match('\s*(.*)\s*=\s*(.*)$', i) for j in arrayvars: diff --git a/Namcap/rules/extravars.py b/Namcap/rules/extravars.py index 0fb0b93..74eed0a 100644 --- a/Namcap/rules/extravars.py +++ b/Namcap/rules/extravars.py @@ -30,7 +30,7 @@ class package(PkgbuildRule): 'sha256sums', 'sha384sums', 'sha512sums', 'pkgname', 'pkgbase', 'pkgver', 'pkgrel', 'epoch', 'pkgdesc', 'groups', 'url', 'install', 'changelog', - 'options', 'optdepends', 'checkdepends'] + 'options', 'optdepends', 'checkdepends', 'validpgpkeys'] for varname in pkginfo["setvars"]: if varname.islower() and varname not in stdvars \ and not varname.startswith('_'): -- 2.2.1
participants (1)
-
Eric Bélanger