From: Zac Medico Date: Mon, 9 Jun 2008 14:36:04 +0000 (-0000) Subject: Bug #224271 - New check 'IUSE.undefined', renamed from generic X-Git-Tag: v2.1.5.5~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1177a7ba918aab8315420af045d25cb2dfebca94;p=portage.git Bug #224271 - New check 'IUSE.undefined', renamed from generic "ebuild.minorsyn'. (trunk r10593) svn path=/main/branches/2.1.2/; revision=10615 --- diff --git a/bin/repoman b/bin/repoman index d1b5627bf..89f78f192 100755 --- a/bin/repoman +++ b/bin/repoman @@ -206,6 +206,7 @@ qahelp={ "variable.readonly":"Assigning a readonly variable", "LIVEVCS.stable":"This ebuild is a live checkout from a VCS but has stable keywords.", "IUSE.invalid":"This ebuild has a variable in IUSE that is not in the use.desc or use.local.desc file", + "IUSE.undefined":"This ebuild does not define IUSE (style guideline says to define IUSE even when empty)", "LICENSE.invalid":"This ebuild is listing a license that doesnt exist in portages license/ dir.", "KEYWORDS.invalid":"This ebuild contains KEYWORDS that are not listed in profiles/arch.list or for which no valid profile was found", "RDEPEND.suspect":"RDEPEND contains a package that usually only belongs in DEPEND.", @@ -244,6 +245,7 @@ qawarnings=[ "KEYWORDS.dropped", "KEYWORDS.stupid", "KEYWORDS.missing", +"IUSE.undefined", "RDEPEND.suspect", "RESTRICT.invalid", "ebuild.minorsyn", @@ -1132,7 +1134,7 @@ def run_checks(contents, inherited=None): if e: yield lc.repoman_check_name, e % (num + 1) if iuse_def is None: - yield 'ebuild.minorsyn', 'IUSE is not defined' + yield 'IUSE.undefined', 'IUSE is not defined' if inherit_autotools and autotools_func_call is None: yield 'inherit.autotools', 'no eauto* function called' diff --git a/man/repoman.1 b/man/repoman.1 index 0bf5ef344..ec83a350e 100644 --- a/man/repoman.1 +++ b/man/repoman.1 @@ -114,6 +114,9 @@ Ebuilds that have a missing or empty HOMEPAGE variable .B IUSE.invalid This build has a variable in IUSE that is not in the use.desc or use.local.desc file .TP +.B IUSE.undefined +This ebuild does not define IUSE (style guideline says to define IUSE even when empty) +.TP .B KEYWORDS.dropped Ebuilds that appear to have dropped KEYWORDS for some arch .TP