From: Zac Medico Date: Sun, 4 Nov 2007 03:32:29 +0000 (-0000) Subject: Generate a usage.obsolete warning whenever X-Git-Tag: v2.2_pre1~448 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f7268fd1c390243d35efbea1a654368bbbc574f;p=portage.git Generate a usage.obsolete warning whenever -* is found in KEYWORDS. svn path=/main/trunk/; revision=8414 --- diff --git a/bin/repoman b/bin/repoman index 0da141034..27e6dfb11 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1178,9 +1178,12 @@ for x in scanlist: " ".join(stable_keywords)) # KEYWORDS="-*" is a stupid replacement for package.mask and screws general KEYWORDS semantics - if "-*" in myaux["KEYWORDS"].split(): + if "-*" in keywords: + stats["usage.obsolete"] += 1 + fails["usage.obsolete"].append( + x+'/'+y+'.ebuild: KEYWORDS contain -*') haskeyword = False - for kw in myaux["KEYWORDS"].split(): + for kw in keywords: if kw[0] == "~": kw = kw[1:] if kw in kwlist: