From b5ed924f64389b78b534ceaeea545510e3bdce89 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 21 Dec 2007 10:31:56 +0000 Subject: [PATCH] Make vardbapi cache DESCRIPTION and HOMEPAGE in order to optimize emerge --searchdesc. svn path=/main/trunk/; revision=9031 --- pym/portage/dbapi/vartree.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 8af2bde5d..3bd92c8ba 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -189,7 +189,8 @@ class vardbapi(dbapi): vartree = db[root]["vartree"] self.vartree = vartree self._aux_cache_keys = set( - ["CHOST", "COUNTER", "DEPEND", "EAPI", "IUSE", "KEYWORDS", + ["CHOST", "COUNTER", "DEPEND", "DESCRIPTION", + "EAPI", "HOMEPAGE", "IUSE", "KEYWORDS", "LICENSE", "PDEPEND", "PROVIDE", "RDEPEND", "NEEDED", "repository", "RESTRICT" , "SLOT", "USE"]) self._aux_cache = None -- 2.26.2