From: Zac Medico Date: Tue, 9 Oct 2007 17:57:37 +0000 (-0000) Subject: Fix USE logic for built packages when populating the filtered repo. X-Git-Tag: v2.2_pre1~672 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=16832f91ddc9f55bb98628d38b81720688f0b90c;p=portage.git Fix USE logic for built packages when populating the filtered repo. svn path=/main/trunk/; revision=8017 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index d92ec440c..d02fe4770 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -1822,12 +1822,12 @@ class depgraph(object): if slot is not None: if slot != metadata["SLOT"]: continue - if not built and \ - (is_virt or "?" in metadata["LICENSE"]): - pkgsettings.setcpv(cpv, mydb=metadata) - metadata["USE"] = pkgsettings["USE"] - else: - metadata["USE"] = "" + if not built: + if (is_virt or "?" in metadata["LICENSE"]): + pkgsettings.setcpv(cpv, mydb=metadata) + metadata["USE"] = pkgsettings["USE"] + else: + metadata["USE"] = "" try: if not visible(pkgsettings, cpv, metadata,