From: Zac Medico Date: Sun, 16 Dec 2012 08:56:26 +0000 (-0800) Subject: repoman: fix dep check for * and ~* keywords X-Git-Tag: v2.2.0_alpha150~100 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bcb28cd73e74d3d45376ab517ea219979b79eeed;p=portage.git repoman: fix dep check for * and ~* keywords We want the effective ACCEPT_KEYWORDS to correspond to the current profile's arch (rather than using wildcards). --- diff --git a/bin/repoman b/bin/repoman index 60792d7e5..fb2a9ad2c 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1891,7 +1891,8 @@ for x in effective_scanlist: for expanded_arch in profiles: if expanded_arch == "**": continue - arches.add((keyword, expanded_arch, (arch, keyword))) + arches.add((keyword, expanded_arch, + (expanded_arch, "~" + expanded_arch))) else: arches.add((keyword, arch, (arch, keyword))) else: @@ -1899,7 +1900,8 @@ for x in effective_scanlist: for expanded_arch in profiles: if expanded_arch == "**": continue - arches.add((keyword, expanded_arch, (keyword,))) + arches.add((keyword, expanded_arch, + (expanded_arch,))) else: arches.add((keyword, keyword, (keyword,))) if not arches: