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

bin/repoman

index cf562a2ed671124705bd40637c67d22ad7bee954..60c8a182e23274c85e073a74e9b9138e485ae415 100755 (executable)
@@ -1264,7 +1264,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)