Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 24439 | Differences between
and this patch

Collapse All | Expand All

(-)pym/portage.py.orig (+12 lines)
Lines 5023-5028 Link Here
5023
		self.auxdb        = {}
5023
		self.auxdb        = {}
5024
		self.auxdbmodule  = self.mysettings.load_best_module("portdbapi.auxdbmodule")
5024
		self.auxdbmodule  = self.mysettings.load_best_module("portdbapi.auxdbmodule")
5025
5025
5026
		self.recacheupd  = {}
5027
5026
		#if the portdbapi is "frozen", then we assume that we can cache everything (that no updates to it are happening)
5028
		#if the portdbapi is "frozen", then we assume that we can cache everything (that no updates to it are happening)
5027
		self.xcache={}
5029
		self.xcache={}
5028
		self.frozen=0
5030
		self.frozen=0
Lines 5192-5197 Link Here
5192
			else:
5194
			else:
5193
				doregen=1
5195
				doregen=1
5194
5196
5197
			if not doregen \
5198
			   and "RESTRICT" in self.auxdb[mylocation][cat][pkg] \
5199
			   and "recache" in self.auxdb[mylocation][cat][pkg]["RESTRICT"].split():
5200
				if cat not in self.recacheupd:
5201
					self.recacheupd[cat]=[]
5202
				if pkg not in self.recacheupd[cat]:
5203
					self.recacheupd[cat].append(pkg)
5204
					doregen=1
5205
					writemsg("Forcing cache entry regeneration because of RESTRICT=recache in "+str(pkg)+"\n", 1)
5206
5195
			if doregen or not self.eclassdb.is_current(mylocation,cat,pkg,self.auxdb[mylocation][cat][pkg]["INHERITED"].split()):
5207
			if doregen or not self.eclassdb.is_current(mylocation,cat,pkg,self.auxdb[mylocation][cat][pkg]["INHERITED"].split()):
5196
				writemsg("doregen: %s %s\n" % (doregen,mycpv), 2)
5208
				writemsg("doregen: %s %s\n" % (doregen,mycpv), 2)
5197
				writemsg("Generating cache entry(0) for: "+str(myebuild)+"\n",1)
5209
				writemsg("Generating cache entry(0) for: "+str(myebuild)+"\n",1)

Return to bug 24439