--- Namcap/rules/extravars.py | 2 +- Namcap/tests/pkgbuild/test_extravars.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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('_'): diff --git a/Namcap/tests/pkgbuild/test_extravars.py b/Namcap/tests/pkgbuild/test_extravars.py index 459a87b..30262e5 100644 --- a/Namcap/tests/pkgbuild/test_extravars.py +++ b/Namcap/tests/pkgbuild/test_extravars.py @@ -78,6 +78,7 @@ glibc=2.12 optdepends=('gtk2') options=('!libtool') source=(ftp://ftp.example.com/pub/mypackage-0.1.tar.gz) +validpgpkeys=('D7EDD665AB6F255E2EB9BA2702FA998FBAD6674A') md5sums=('abcdefabcdef12345678901234567890') build() { -- 2.4.1