projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d603f14
)
repoman: support * and ~* keywords
author
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Apr 2012 17:41:04 +0000
(10:41 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Apr 2012 17:41:04 +0000
(10:41 -0700)
These special keywords are used by Funtoo, and have been supported in
KeywordsManager since commit
9144faeb653b9f1dbe74c69f85cd48f26761aa2f
.
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 651c0bed4667cddc8910b640b83cc031e4b8f24f..4d39cb837894cdfe460a0e220d6d3a213c05d5e2 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-1967,7
+1967,7
@@
for x in effective_scanlist:
myskey=myskey[1:]
if myskey[0]=="~":
myskey=myskey[1:]
- if mykey
!="-*"
:
+ if mykey
not in ("-*", "*", "~*")
:
if myskey not in kwlist:
stats["KEYWORDS.invalid"] += 1
fails["KEYWORDS.invalid"].append(x+"/"+y+".ebuild: %s" % mykey)