Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 114948 | Differences between
and this patch

Collapse All | Expand All

(-)portage-2.0.53/bin/repoman.orig (+21 lines)
Lines 964-969 Link Here
964
					baddepsyntax = True
964
					baddepsyntax = True
965
				else:
965
				else:
966
					badlicsyntax = True
966
					badlicsyntax = True
967
			for word in mydepstr.split():
968
				if word == "(" or word == ")" or word == "||":
969
					continue
970
				failed = False
971
				if string.find(word, "(") != -1:
972
					failed = True
973
					token = "("
974
				if string.find(word, ")") != -1:
975
					failed = True
976
					token = ")"
977
				if string.find(word, "|") != -1:
978
					failed = True
979
					token = "||"
980
				if failed:
981
					stats[mytype+".syntax"] += 1
982
					fails[mytype+".syntax"].append(catpkg+".ebuild "+mytype+": Needs whitespace around "+token)
983
					if mytype != "LICENSE":
984
						baddepsyntax = True
985
					else:
986
						badlicsyntax = True
987
					break
967
			try:
988
			try:
968
				# Missing closing parenthesis will result in a ValueError
989
				# Missing closing parenthesis will result in a ValueError
969
				mydeplist=portage_dep.paren_reduce(mydepstr)
990
				mydeplist=portage_dep.paren_reduce(mydepstr)

Return to bug 114948