summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-07 22:18:17 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-07 22:18:17 +0000
commit46d1dd0119ccab4bfc2a4ebb562592e5bb7c36a7 (patch)
treed78f546240db8e695218567e4781de4f0702fa8e
parent03b1ed2f3e1af3a6f64c6e9b51b073a81d1b9789 (diff)
downloadportage-46d1dd0119ccab4bfc2a4ebb562592e5bb7c36a7.tar.gz
portage-46d1dd0119ccab4bfc2a4ebb562592e5bb7c36a7.tar.bz2
portage-46d1dd0119ccab4bfc2a4ebb562592e5bb7c36a7.zip
Bug #224271 - New check 'IUSE.undefined', renamed from generic
'ebuild.minorsyn'. svn path=/main/trunk/; revision=10593
-rwxr-xr-xbin/repoman2
-rw-r--r--man/repoman.13
-rw-r--r--pym/repoman/checks.py2
3 files changed, 6 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 3cabe0a73..b9710be0f 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -293,6 +293,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.",
@@ -330,6 +331,7 @@ qawarnings=[
"KEYWORDS.dropped",
"KEYWORDS.stupid",
"KEYWORDS.missing",
+"IUSE.undefined",
"RDEPEND.suspect",
"RESTRICT.invalid",
"ebuild.minorsyn",
diff --git a/man/repoman.1 b/man/repoman.1
index eddba3919..7f03365c2 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
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py
index bfd06bc34..7bc9d990b 100644
--- a/pym/repoman/checks.py
+++ b/pym/repoman/checks.py
@@ -241,6 +241,6 @@ def run_checks(contents, st_mtime, 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'