From: Zac Medico Date: Tue, 9 Oct 2007 15:38:53 +0000 (-0000) Subject: When an ebuild has conditionals in it's LICENSE, calculate X-Git-Tag: v2.2_pre1~675 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d0237500098f6048203272754a0f4f5cd750d77b;p=portage.git When an ebuild has conditionals in it's LICENSE, calculate USE before the visibility check. svn path=/main/trunk/; revision=8014 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 18bc8f443..11e5c954d 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -2005,6 +2005,9 @@ class depgraph(object): except KeyError: # masked by corruption continue + if "?" in metadata["LICENSE"]: + pkgsettings.setcpv(cpv, mydb=metadata) + metadata["USE"] = pkgsettings["USE"] try: if not visible(pkgsettings, cpv, metadata, built=False, installed=False):