repoman keywords.dropped: handle * and ~*
authorZac Medico <zmedico@gentoo.org>
Sat, 15 Dec 2012 22:23:53 +0000 (14:23 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 15 Dec 2012 23:08:14 +0000 (15:08 -0800)
bin/repoman

index 161d87c01b8a15363f3e5ad757e6d6ccd2b696f2..41bce801940c7260de11a1e9a6cc5c0ab35936d5 100755 (executable)
@@ -1833,7 +1833,7 @@ for x in effective_scanlist:
                previous_keywords = slot_keywords.get(pkg.slot)
                if previous_keywords is None:
                        slot_keywords[pkg.slot] = set()
-               elif ebuild_archs and not live_ebuild:
+               elif ebuild_archs and "*" not in ebuild_archs and not live_ebuild:
                        dropped_keywords = previous_keywords.difference(ebuild_archs)
                        if dropped_keywords:
                                stats["KEYWORDS.dropped"] += 1