diff options
-rw-r--r-- | pym/portage_dep.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage_dep.py b/pym/portage_dep.py index c27d4307e..3d0e160b0 100644 --- a/pym/portage_dep.py +++ b/pym/portage_dep.py @@ -597,8 +597,7 @@ def match_from_list(mydep, candidate_list): if not myver or not myver[0].isdigit(): myver = "0"+myver xcpv = xs[0]+"/"+xs[1]+"-"+myver - xcpv = x[:min(len(x), len(mycpv))] - if xcpv == mycpv: + if xcpv.startswith(mycpv): mylist.append(x) elif operator == "~": # version, any revision, match |