From: Zac Medico Date: Fri, 21 Dec 2007 10:32:40 +0000 (-0000) Subject: Make vardbapi cache DESCRIPTION and HOMEPAGE in order to optimize X-Git-Tag: v2.1.4~61 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4cd6d27a197e66193fc81f4952b6df6a081fc513;p=portage.git Make vardbapi cache DESCRIPTION and HOMEPAGE in order to optimize emerge --searchdesc. (trunk r9031) svn path=/main/branches/2.1.2/; revision=9032 --- diff --git a/pym/portage.py b/pym/portage.py index 14e763147..835440c6a 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6105,7 +6105,8 @@ class vardbapi(dbapi): vartree = globals()["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