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

(-)portage.py (-2 / +1 lines)
Lines 5571-5591 Link Here
5571
				# KEYWORDS=""
5571
				# KEYWORDS=""
5572
				#print "!!! No KEYWORDS for "+str(mycpv)+" -- Untested Status"
5572
				#print "!!! No KEYWORDS for "+str(mycpv)+" -- Untested Status"
5573
				continue
5573
				continue
5574
			mygroups=myaux[0].split()
5574
			mygroups=myaux[0].split()
5575
			pgroups=groups[:]
5575
			pgroups=groups[:]
5576
			match=0
5576
			match=0
5577
			cp = dep_getkey(mycpv)
5577
			cp = dep_getkey(mycpv)
5578
			if pkgdict.has_key(cp):
5578
			if pkgdict.has_key(cp):
5579
				matches = match_to_list(mycpv, pkgdict[cp].keys())
5579
				matches = match_to_list(mycpv, pkgdict[cp].keys())
5580
				for atom in matches:
5580
				for atom in matches:
5581
					pgroups.extend(pkgdict[cp][atom])
5581
					mygroups.extend(pkgdict[cp][atom])
5582
			for gp in mygroups:
5582
			for gp in mygroups:
5583
				if gp=="*":
5583
				if gp=="*":
5584
					writemsg("--- WARNING: Package '%s' uses '*' keyword.\n" % mycpv)
5584
					writemsg("--- WARNING: Package '%s' uses '*' keyword.\n" % mycpv)
5585
					match=1
5585
					match=1
5586
					break
5586
					break
5587
				elif "-"+gp in pgroups:
5587
				elif "-"+gp in pgroups:
5588
					match=0
5588
					match=0
5589
					break
5589
					break
5590
				elif gp in pgroups:
5590
				elif gp in pgroups:
5591
					match=1
5591
					match=1
5592
- 

Return to bug 86753