summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-09 14:36:04 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-09 14:36:04 +0000
commit1177a7ba918aab8315420af045d25cb2dfebca94 (patch)
tree46fa4ac8da0bbe172cec9763c0ff59b6b7c7fcd2
parentc5a1e0b212d8f5362177427dcad651269cb117b3 (diff)
downloadportage-1177a7ba918aab8315420af045d25cb2dfebca94.tar.gz
portage-1177a7ba918aab8315420af045d25cb2dfebca94.tar.bz2
portage-1177a7ba918aab8315420af045d25cb2dfebca94.zip
Bug #224271 - New check 'IUSE.undefined', renamed from generic
"ebuild.minorsyn'. (trunk r10593) svn path=/main/branches/2.1.2/; revision=10615
-rwxr-xr-xbin/repoman4
-rw-r--r--man/repoman.13
2 files changed, 6 insertions, 1 deletions
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