|
Lines 1469-1476
Link Here
|
| 1469 |
pkgmap[mykey]["selected"].append(slotmap[myslot][ckey]) |
1469 |
pkgmap[mykey]["selected"].append(slotmap[myslot][ckey]) |
| 1470 |
numselected=numselected+1 |
1470 |
numselected=numselected+1 |
| 1471 |
#ok, now the last-merged package is protected, and the rest are selected |
1471 |
#ok, now the last-merged package is protected, and the rest are selected |
|
|
1472 |
for x in candidate_catpkgs: |
| 1473 |
if not mymatch and x[0] not in "<>=~": |
| 1474 |
#add a "=" if missing |
| 1475 |
mydep="="+x |
| 1476 |
mymatch=localtree.dep_match(mydep) |
| 1477 |
else: |
| 1478 |
mydep=x |
| 1472 |
for y in localtree.dep_nomatch(mydep): |
1479 |
for y in localtree.dep_nomatch(mydep): |
| 1473 |
if not y in pkgmap[mykey]["omitted"]: |
1480 |
if not y in pkgmap[mykey]["omitted"] and not y in pkgmap[mykey]["selected"] and not y in pkgmap[mykey]["protected"]: |
| 1474 |
pkgmap[mykey]["omitted"].append(y) |
1481 |
pkgmap[mykey]["omitted"].append(y) |
| 1475 |
|
1482 |
|
| 1476 |
if global_unmerge and not numselected: |
1483 |
if global_unmerge and not numselected: |