--- portage-2.0.53/bin/repoman.orig 2005-12-10 10:12:31.000000000 -0800 +++ portage-2.0.53/bin/repoman 2005-12-10 10:47:45.000000000 -0800 @@ -964,6 +964,27 @@ baddepsyntax = True else: badlicsyntax = True + for word in mydepstr.split(): + if word == "(" or word == ")" or word == "||": + continue + failed = False + if string.find(word, "(") != -1: + failed = True + token = "(" + if string.find(word, ")") != -1: + failed = True + token = ")" + if string.find(word, "|") != -1: + failed = True + token = "||" + if failed: + stats[mytype+".syntax"] += 1 + fails[mytype+".syntax"].append(catpkg+".ebuild "+mytype+": Needs whitespace around "+token) + if mytype != "LICENSE": + baddepsyntax = True + else: + badlicsyntax = True + break try: # Missing closing parenthesis will result in a ValueError mydeplist=portage_dep.paren_reduce(mydepstr)