Lines 5288-5297
Link Here
|
5288 |
xinfo='"%s"' % arg |
5288 |
xinfo='"%s"' % arg |
5289 |
# Discard null/ from failed cpv_expand category expansion. |
5289 |
# Discard null/ from failed cpv_expand category expansion. |
5290 |
xinfo = xinfo.replace("null/", "") |
5290 |
xinfo = xinfo.replace("null/", "") |
5291 |
if myparent: |
|
|
5292 |
xfrom = '(dependency required by '+ \ |
5293 |
green('"%s"' % myparent[2]) + \ |
5294 |
red(' [%s]' % myparent[0]) + ')' |
5295 |
masked_packages = [] |
5291 |
masked_packages = [] |
5296 |
missing_use = [] |
5292 |
missing_use = [] |
5297 |
missing_licenses = [] |
5293 |
missing_licenses = [] |
Lines 5386-5393
Link Here
|
5386 |
show_mask_docs() |
5382 |
show_mask_docs() |
5387 |
else: |
5383 |
else: |
5388 |
print "\nemerge: there are no ebuilds to satisfy "+green(xinfo)+"." |
5384 |
print "\nemerge: there are no ebuilds to satisfy "+green(xinfo)+"." |
5389 |
if myparent: |
5385 |
|
5390 |
print xfrom |
5386 |
# Show parent nodes and the argument that pulled them in. |
|
|
5387 |
node = myparent |
5388 |
msg = [] |
5389 |
while node is not None: |
5390 |
msg.append('(dependency required by "%s" [%s])' % \ |
5391 |
(colorize('INFORM', str(node.cpv)), node.type_name)) |
5392 |
parent = None |
5393 |
for parent in self.digraph.parent_nodes(node): |
5394 |
if isinstance(parent, DependencyArg): |
5395 |
msg.append('(dependency required by "%s" [argument])' % \ |
5396 |
(colorize('INFORM', str(parent)))) |
5397 |
parent = None |
5398 |
break |
5399 |
node = parent |
5400 |
for line in msg: |
5401 |
print line |
5402 |
|
5391 |
print |
5403 |
print |
5392 |
|
5404 |
|
5393 |
def _select_pkg_highest_available(self, root, atom, onlydeps=False): |
5405 |
def _select_pkg_highest_available(self, root, atom, onlydeps=False): |