Skip blocker atoms for the RDEPEND.suspect check. (trunk r10335)
authorZac Medico <zmedico@gentoo.org>
Wed, 14 May 2008 18:05:19 +0000 (18:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 14 May 2008 18:05:19 +0000 (18:05 -0000)
svn path=/main/branches/2.1.2/; revision=10336

bin/repoman

index 6dd86709b8d2dd4b5f5ee2e4382a02a2e223922f..b9756074efd22c79586cc1b2b33bbdfd9aa5ff69 100755 (executable)
@@ -1715,7 +1715,8 @@ for x in scanlist:
                                                        stats['java.eclassesnotused'] += 1
                                                        fails['java.eclassesnotused'].append(relative_path)
                                                elif mytype == "RDEPEND":
-                                                       if portage.dep_getkey(atom) in suspect_rdepend:
+                                                       if not is_blocker and \
+                                                               portage.dep_getkey(atom) in suspect_rdepend:
                                                                stats['RDEPEND.suspect'] += 1
                                                                fails['RDEPEND.suspect'].append(
                                                                        relative_path + ": '%s'" % atom)