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 1QPnDy-0003M0-0L for garchives@archives.gentoo.org; Fri, 27 May 2011 02:56:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D37DD1C004; Fri, 27 May 2011 02:56:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9F6F51C004 for ; Fri, 27 May 2011 02:56:20 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1C42B1B4017 for ; Fri, 27 May 2011 02:56:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 748F080505 for ; Fri, 27 May 2011 02:56:19 +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: <59835b2473cad2981ffe5e3fde9badf3a0c08af6.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:2.1.9 commit in: pym/portage/dbapi/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/dbapi/vartree.py X-VCS-Directories: pym/portage/dbapi/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 59835b2473cad2981ffe5e3fde9badf3a0c08af6 Date: Fri, 27 May 2011 02:56:19 +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: X-Archives-Hash: f369e9f33a0ff9755498ae83b1952906 commit: 59835b2473cad2981ffe5e3fde9badf3a0c08af6 Author: Zac Medico gentoo org> AuthorDate: Fri May 27 02:55:28 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri May 27 02:55:28 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D59835b24 dblink.merge: populate vardbapi cache for new pkg This is similar to commit 4b5ab00fd0fd08af8c9075acdbb3921cf39d41a3 from the master branch, but in this branch it doesn't fit in MergeProcess. --- pym/portage/dbapi/vartree.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index f93652b..b8daa3e 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -4092,6 +4092,14 @@ class dblink(object): self, mydbapi, myebuild, "clean") =20 finally: + + # Populate the vardbapi cache for the new package + # while its inodes are still hot. + try: + self.vartree.dbapi.aux_get(self.mycpv, ["EAPI"]) + except KeyError: + pass + self.settings.pop('REPLACING_VERSIONS', None) if self.vartree.dbapi._linkmap is None: # preserve-libs is entirely disabled