summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-20 11:17:41 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-20 11:17:41 +0000
commitdb458e6f62d7d4c66562b824900c262e3015948d (patch)
tree87e4fd3981c42e5e04d829364150f917ed9a611e /pym
parent0a0188d22823d494220af5a65d37ce0003a78145 (diff)
downloadportage-db458e6f62d7d4c66562b824900c262e3015948d.tar.gz
portage-db458e6f62d7d4c66562b824900c262e3015948d.tar.bz2
portage-db458e6f62d7d4c66562b824900c262e3015948d.zip
Bug #149816 - Implement visibility filtering for binary packages.
This is only the least invasive part of the implementation that is currently in trunk. svn path=/main/branches/2.1.2/; revision=8984
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 6195e6843..bf6016579 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6002,7 +6002,9 @@ class bindbapi(fakedbapi):
self.settings = settings
self._match_cache = {}
# Selectively cache metadata in order to optimize dep matching.
- self._aux_cache_keys = set(["CHOST","EAPI","SLOT"])
+ self._aux_cache_keys = set(
+ ["CHOST", "EAPI", "IUSE", "KEYWORDS",
+ "LICENSE", "PROVIDE", "SLOT", "USE"])
self._aux_cache = {}
def match(self, *pargs, **kwargs):