'dev-java/nanoxml*'. Thanks to Vlastimil Babka <caster@g.o> for reporting.
(trunk r12613:12617)
svn path=/main/branches/2.1.6/; revision=12892
cpv = dep_getcpv(atom)
cpv_catsplit = catsplit(cpv)
+ without_slot = remove_slot(atom)
mycpv_cps = None
if cpv:
if len(cpv_catsplit) == 2:
mycpv_cps[0] = "null"
if not mycpv_cps:
mycpv_cps = catpkgsplit(cpv)
+ if mycpv_cps is None and cpv != without_slot:
+ return 0
operator = get_operator(atom)
if operator:
- if operator[0] in "<>" and remove_slot(atom).endswith("*"):
+ if operator[0] in "<>" and without_slot[-1:] == "*":
return 0
if mycpv_cps:
if len(cpv_catsplit) == 2:
( "null/portage", True ),
( "=null/portage", False ),
( "=null/portage*", False ),
+ ( "null/portage*:0", False ),
( ">=null/portage-2.1", True ),
( "~null/portage-2.1", True ),
( "=null/portage-2.1*", True ),]