From: Zac Medico Date: Wed, 22 Oct 2008 05:36:34 +0000 (-0000) Subject: Add a PROPERTIES.syntax check. X-Git-Tag: v2.2_rc13~65 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c76994b8020847c16986fc78b9a73febb47a1aef;p=portage.git Add a PROPERTIES.syntax check. svn path=/main/trunk/; revision=11717 --- 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: diff --git a/man/repoman.1 b/man/repoman.1 index dc9cb30e2..a4a92a731 100644 --- a/man/repoman.1 +++ b/man/repoman.1 @@ -177,6 +177,12 @@ RDEPEND contains a package that usually only belongs in DEPEND .B RDEPEND.syntax Syntax error in RDEPEND (usually an extra/missing space/parenthesis) .TP +.B PROPERTIES.syntax +Syntax error in PROPERTIES (usually an extra/missing space/parenthesis) +.TP +.B RESTRICT.syntax +Syntax error in RESTRICT (usually an extra/missing space/parenthesis) +.TP .B SLOT.missing Ebuilds that have a missing or empty SLOT variable .TP