From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rdov4-0005s5-7a for garchives@archives.gentoo.org; Thu, 22 Dec 2011 20:07:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 624B821C1BA; Thu, 22 Dec 2011 20:07:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2FA5F21C1BA for ; Thu, 22 Dec 2011 20:07:07 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AC16F1B4011 for ; Thu, 22 Dec 2011 20:07:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 171C780042 for ; Thu, 22 Dec 2011 20:07:06 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <9ef18c2a97bee1ff94163b77573aea72d7a3b01b.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/package/ebuild/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/package/ebuild/config.py X-VCS-Directories: pym/portage/package/ebuild/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 9ef18c2a97bee1ff94163b77573aea72d7a3b01b Date: Thu, 22 Dec 2011 20:07:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 62033f63-015c-4128-9071-b91436870b3c X-Archives-Hash: 28e8110cec798ac894f03711dc31b801 commit: 9ef18c2a97bee1ff94163b77573aea72d7a3b01b Author: Zac Medico gentoo org> AuthorDate: Thu Dec 22 20:06:45 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Dec 22 20:06:45 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D9ef18c2a config.setcpv(): use dbapi._aux_cache_keys This helps to avoid triggering the environment.bz2 extraction in vardbapi.aux_get(). --- pym/portage/package/ebuild/config.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/e= build/config.py index f6166c6..366f548 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -1188,8 +1188,11 @@ class config(object): # packages since we want to save it PORTAGE_BUILT_USE for # evaluating conditional USE deps in atoms passed via IPC to # helpers like has_version and best_version. + aux_keys =3D set(aux_keys) + if hasattr(mydb, '_aux_cache_keys'): + aux_keys =3D aux_keys.intersection(mydb._aux_cache_keys) + aux_keys.add('USE') aux_keys =3D list(aux_keys) - aux_keys.append('USE') for k, v in zip(aux_keys, mydb.aux_get(self.mycpv, aux_keys)): pkg_configdict[k] =3D v built_use =3D frozenset(pkg_configdict.pop('USE').split())