From: Zac Medico Date: Tue, 2 Mar 2010 20:21:34 +0000 (-0000) Subject: Cache BUILD_TIME in $PKGDIR/Packages and inside bindbapi. (trunk r15360) X-Git-Tag: v2.1.8~135 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba03ef6cf41b68448e0375054e447e1b2be76ba6;p=portage.git Cache BUILD_TIME in $PKGDIR/Packages and inside bindbapi. (trunk r15360) svn path=/main/branches/2.1.7/; revision=15587 --- diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index ecc8424c0..abd375a2d 100644 --- a/pym/portage/dbapi/bintree.py +++ b/pym/portage/dbapi/bintree.py @@ -49,7 +49,7 @@ class bindbapi(fakedbapi): self.cpdict={} # Selectively cache metadata in order to optimize dep matching. self._aux_cache_keys = set( - ["CHOST", "DEPEND", "EAPI", "IUSE", "KEYWORDS", + ["BUILD_TIME", "CHOST", "DEPEND", "EAPI", "IUSE", "KEYWORDS", "LICENSE", "PDEPEND", "PROPERTIES", "PROVIDE", "RDEPEND", "repository", "RESTRICT", "SLOT", "USE"]) self._aux_cache_slot_dict = slot_dict_class(self._aux_cache_keys) @@ -187,7 +187,7 @@ class binarytree(object): self._pkgindex_keys = self.dbapi._aux_cache_keys.copy() self._pkgindex_keys.update(["CPV", "MTIME", "SIZE"]) self._pkgindex_aux_keys = \ - ["CHOST", "DEPEND", "DESCRIPTION", "EAPI", + ["BUILD_TIME", "CHOST", "DEPEND", "DESCRIPTION", "EAPI", "IUSE", "KEYWORDS", "LICENSE", "PDEPEND", "PROPERTIES", "PROVIDE", "RDEPEND", "repository", "SLOT", "USE"] self._pkgindex_aux_keys = list(self._pkgindex_aux_keys) @@ -200,6 +200,7 @@ class binarytree(object): "CHOST", "CONFIG_PROTECT", "CONFIG_PROTECT_MASK", "FEATURES", "GENTOO_MIRRORS", "INSTALL_MASK", "SYNC", "USE"]) self._pkgindex_default_pkg_data = { + "BUILD_TIME" : "", "DEPEND" : "", "EAPI" : "0", "IUSE" : "",