summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorwired <wired@gentoo.org>2010-08-15 01:56:40 +0300
committerZac Medico <zmedico@gentoo.org>2010-08-22 11:59:42 -0700
commit6bfbbbefc91069cb4244cf5a5462e6cef3cef3e6 (patch)
treef29a947da6bd1b2a7a8f244d7847155548d152b8 /bin
parent2960e0d0fc5ad933ca39e0fc338b56da6de9fe52 (diff)
downloadportage-6bfbbbefc91069cb4244cf5a5462e6cef3cef3e6.tar.gz
portage-6bfbbbefc91069cb4244cf5a5462e6cef3cef3e6.tar.bz2
portage-6bfbbbefc91069cb4244cf5a5462e6cef3cef3e6.zip
repoman: check for deprecated eclasses
compare the inherited eclasses to a list of deprecated eclasses. print QA warnings for each deprecated eclass found and suggest an alternative for those that have one.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index df4232516..3b28bf5be 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -285,6 +285,7 @@ qahelp={
"file.name":"File/dir name must be composed of only the following chars: %s " % allowed_filename_chars,
"file.UTF8":"File is not UTF8 compliant",
"inherit.autotools":"Ebuild inherits autotools but does not call eautomake, eautoconf or eautoreconf",
+ "inherit.deprecated":"Ebuild inherits a deprecated eclass",
"java.eclassesnotused":"With virtual/jdk in DEPEND you must inherit a java eclass",
"KEYWORDS.dropped":"Ebuilds that appear to have dropped KEYWORDS for some arch",
"KEYWORDS.missing":"Ebuilds that have a missing or empty KEYWORDS variable",
@@ -396,6 +397,7 @@ qawarnings = set((
"ebuild.patches",
"file.size",
"inherit.autotools",
+"inherit.deprecated",
"java.eclassesnotused",
"metadata.warning",
"virtual.versioned",