to optimize matching of old-style virtuals.
svn path=/main/trunk/; revision=8041
self.cpdict={}
# Selectively cache metadata in order to optimize dep matching.
self._aux_cache_keys = set(
- ["CHOST", "EAPI", "IUSE", "KEYWORDS", "LICENSE", "SLOT", "USE"])
+ ["CHOST", "EAPI", "IUSE", "KEYWORDS",
+ "LICENSE", "PROVIDE", "SLOT", "USE"])
self._aux_cache = {}
def match(self, *pargs, **kwargs):
self.depcachedir, x, filtered_auxdbkeys, gid=portage_gid)
# Selectively cache metadata in order to optimize dep matching.
self._aux_cache_keys = set(
- ["EAPI", "IUSE", "KEYWORDS", "LICENSE", "SLOT"])
+ ["EAPI", "IUSE", "KEYWORDS", "LICENSE", "PROVIDE", "SLOT"])
self._aux_cache = {}
self._broken_ebuilds = set()
continue
d.setdefault("EAPI", "0")
d.setdefault("IUSE", "")
+ d.setdefault("PROVIDE", "")
d.setdefault("SLOT", "0")
d.setdefault("USE", "")
if header_chost:
del metadata["EAPI"]
if metadata.get("IUSE") == "":
del metadata["IUSE"]
+ if metadata.get("PROVIDE") == "":
+ del metadata["PROVIDE"]
if metadata.get("SLOT") == "0":
del metadata["SLOT"]
if metadata.get("USE") == "":