--- pym.orig/portage.py 2003-12-10 21:45:47.163244480 +0100 +++ pym/portage.py 2003-12-10 21:46:06.504947325 +0100 @@ -4039,6 +4039,15 @@ auxcache_is_valid = self.auxcache[cat].has_key(pkg) and \ self.auxcache[cat][pkg].has_key("mtime") and \ self.auxcache[cat][pkg]["mtime"] == emtime + + # noslotcache: ignore the cache entry in case we ask for a dynamic slot + if auxcache_is_valid and ("SLOT" in mylist) and self.auxcache[cat][pkg].has_key("RESTRICT"): + if "noslotcache" in self.auxcache[cat][pkg]["RESTRICT"].split(): + doregen=1 + usingmdcache=1 + if debug > 1: + writemsg("auxcache was valid for "+str(pkg)+" but we don't trust it for SLOT.\n") + if auxcache_is_valid: if debug > 1: writemsg("auxcache is valid: "+str(auxcache_is_valid)+" "+str(pkg)+"\n")