diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-01-23 20:55:51 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-01-23 20:55:51 +0000 |
commit | bd367143c6b97c5e618451cfdde63babfaaaf2c0 (patch) | |
tree | 97990a3a60ed56f2f961b30d6e45fe8c38673a93 /pym/portage.py | |
parent | 98aa1f4243df6d1c7e2b4cd10b8abab450263fe6 (diff) | |
download | portage-bd367143c6b97c5e618451cfdde63babfaaaf2c0.tar.gz portage-bd367143c6b97c5e618451cfdde63babfaaaf2c0.tar.bz2 portage-bd367143c6b97c5e618451cfdde63babfaaaf2c0.zip |
Add new ** for package.keywords token to bypass keyword visibility layer (trunk r5758:5760)
svn path=/main/branches/2.1.2/; revision=5762
Diffstat (limited to 'pym/portage.py')
-rw-r--r-- | pym/portage.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index 9070a04d1..667066597 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6146,6 +6146,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:]) @@ -6170,7 +6172,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) |