summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-01-23 17:41:00 +0000
committerMarius Mauch <genone@gentoo.org>2007-01-23 17:41:00 +0000
commit27aa0b94a991e1bc0559c0d8770504bbe20e7218 (patch)
treec1c8571a5f30c771c3f900ef37d72e45bd294955 /pym
parent5e00dcba1c377b27a81de6d973f161a5e49ac064 (diff)
downloadportage-27aa0b94a991e1bc0559c0d8770504bbe20e7218.tar.gz
portage-27aa0b94a991e1bc0559c0d8770504bbe20e7218.tar.bz2
portage-27aa0b94a991e1bc0559c0d8770504bbe20e7218.zip
Add new ** for package.keywords token to bypass keyword visibility layer
svn path=/main/trunk/; revision=5759
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index c4dce04ac..b434b338e 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6211,6 +6211,8 @@ class portdbapi(dbapi):
if matches:
inc_pgroups = []
for x in pgroups:
+ # The -* special case should be removed once the tree
+ # is clean of KEYWORDS=-* crap
if x != "-*" and x.startswith("-"):
try:
inc_pgroups.remove(x[1:])
@@ -6235,7 +6237,7 @@ class portdbapi(dbapi):
hastesting = True
elif gp[0] != "-":
hasstable = True
- if not match and ((hastesting and "~*" in pgroups) or (hasstable and "*" in pgroups)):
+ if not match and ((hastesting and "~*" in pgroups) or (hasstable and "*" in pgroups) or "**" in pgroups):
match=1
if match and eapi_is_supported(eapi):
newlist.append(mycpv)