[arch-projects] [namcap] [PATCH] Add groups, options and validpgpkeys to arrays
Michael Straube
straubem at gmx.de
Tue May 2 17:59:50 UTC 2017
Signed-off-by: Michael Straube <straubem at gmx.de>
---
Namcap/rules/arrays.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Namcap/rules/arrays.py b/Namcap/rules/arrays.py
index 5462986..243816e 100644
--- a/Namcap/rules/arrays.py
+++ b/Namcap/rules/arrays.py
@@ -26,10 +26,10 @@ class package(PkgbuildRule):
name = "array"
description = "Verifies that array variables are actually arrays"
def analyze(self, pkginfo, tar):
- arrayvars = ['arch', 'license', 'depends', 'makedepends',
- 'optdepends', 'checkdepends', 'provides', 'conflicts' , 'replaces',
- 'backup', 'source', 'noextract', 'md5sums',
- 'sha1sums', 'sha256sums', 'sha384sums', 'sha512sums']
+ arrayvars = ['arch', 'license', 'groups', 'depends', 'makedepends',
+ 'optdepends', 'checkdepends', 'provides', 'conflicts', 'replaces',
+ 'backup', 'options', 'source', 'noextract', 'md5sums', 'sha1sums',
+ 'sha256sums', 'sha384sums', 'sha512sums', 'validpgpkeys']
for i in pkginfo.pkgbuild:
m = re.match('\s*(.*)\s*=\s*(.*)$', i)
for j in arrayvars:
--
2.12.2
More information about the arch-projects
mailing list