summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-10-22 05:36:34 +0000
committerZac Medico <zmedico@gentoo.org>2008-10-22 05:36:34 +0000
commitc76994b8020847c16986fc78b9a73febb47a1aef (patch)
tree9ff79c0c7d5fd493f9060038d61a1aad478b59b4 /bin/repoman
parenta0eab2cf70d7b717b69a18c65914332f3525f177 (diff)
downloadportage-c76994b8020847c16986fc78b9a73febb47a1aef.tar.gz
portage-c76994b8020847c16986fc78b9a73febb47a1aef.tar.bz2
portage-c76994b8020847c16986fc78b9a73febb47a1aef.zip
Add a PROPERTIES.syntax check.
svn path=/main/trunk/; revision=11717
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index f7831cf50..f0a6abe9f 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -291,6 +291,7 @@ qahelp={
"PDEPEND.syntax":"Syntax error in PDEPEND (usually an extra/missing space/parenthesis)",
"LICENSE.syntax":"Syntax error in LICENSE (usually an extra/missing space/parenthesis)",
"PROVIDE.syntax":"Syntax error in PROVIDE (usually an extra/missing space/parenthesis)",
+ "PROPERTIES.syntax":"Syntax error in PROPERTIES (usually an extra/missing space/parenthesis)",
"RESTRICT.syntax":"Syntax error in RESTRICT (usually an extra/missing space/parenthesis)",
"SRC_URI.syntax":"Syntax error in SRC_URI (usually an extra/missing space/parenthesis)",
"SRC_URI.mirror":"A uri listed in profiles/thirdpartymirrors is found in SRC_URI",
@@ -1230,7 +1231,8 @@ for x in scanlist:
"java-pkg-opt-2" in inherited
operator_tokens = set(["||", "(", ")"])
type_list, badsyntax = [], []
- for mytype in ("DEPEND", "RDEPEND", "PDEPEND", "LICENSE", "PROVIDE"):
+ for mytype in ("DEPEND", "RDEPEND", "PDEPEND",
+ "LICENSE", "PROPERTIES", "PROVIDE"):
mydepstr = myaux[mytype]
if mydepstr.find(" ?") != -1: