Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 1523
Collapse All | Expand All

(-)portage.py-2002520 (+15 lines)
Lines 62-67 Link Here
62
import signal
62
import signal
63
import time
63
import time
64
import missingos
64
import missingos
65
import estatus
65
66
66
try:
67
try:
67
	import fchksum
68
	import fchksum
Lines 2511-2516 Link Here
2511
			matches=self.dep_nomatch(x)
2512
			matches=self.dep_nomatch(x)
2512
			for y in matches:
2513
			for y in matches:
2513
				self.zap(y)
2514
				self.zap(y)
2515
		#now mask leftover ebuilds in the tree according to their status
2516
		StabLevel=settings["STABILITY_LEVEL"]
2517
		if not StabLevel:StabLevel="approved"
2518
		for pkgKey in self.tree.keys():
2519
			pkgStatus=estatus.pkgStatus(self.portroot+'/'+pkgKey)
2520
			for x in self.tree[pkgKey]:
2521
				if x[1][3]=="r0":
2522
					PVR=x[1][2]
2523
				else:
2524
					PVR=x[1][2]+"-"+x[1][3]
2525
				
2526
				if not pkgStatus[PVR].isAllowed(StabLevel):
2527
					self.zap(x[0])
2528
2514
2529
2515
	def getdeps(self,pf):
2530
	def getdeps(self,pf):
2516
		"returns list of dependencies, if any"
2531
		"returns list of dependencies, if any"

Return to bug 1523