--- pym/portage.py.orig 2003-10-30 19:16:02.000000000 +0100 +++ pym/portage.py 2003-10-30 20:54:29.000000000 +0100 @@ -3845,6 +3845,13 @@ auxcache_is_valid = self.auxcache[cat].has_key(pkg) and \ self.auxcache[cat][pkg].has_key("mtime") and \ self.auxcache[cat][pkg]["mtime"] == emtime + + #nocache RESTRICT flag: ignore the cache entry (useful for dynamic slots, etc.) + if auxcache_is_valid and self.auxcache[cat][pkg].has_key("RESTRICT"): + auxcache_is_valid = not "nocache" in self.auxcache[cat][pkg]["RESTRICT"].split() + if debug > 1: + writemsg("auxcache was valid for "+str(pkg)+"but 'nocache' is in $RESTRICT\n") + if auxcache_is_valid: if debug > 1: writemsg("auxcache is valid: "+str(auxcache_is_valid)+" "+str(pkg)+"\n")