projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ec4d5
)
emerge --depclean: clarify unsatisfied atoms
author
Zac Medico
<zmedico@gentoo.org>
Mon, 31 Dec 2012 23:52:46 +0000
(15:52 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 31 Dec 2012 23:52:46 +0000
(15:52 -0800)
If the atom is unsatisfied due to a USE dep that's only visible in the
unevaluated form, then display the unevaluated form.
pym/_emerge/actions.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/actions.py
b/pym/_emerge/actions.py
index a498ae49da25eb0b5293ee4114457135e4749638..6a3815a9cc6cca27f0aa5dd64c4b63a01f5991c1 100644
(file)
--- a/
pym/_emerge/actions.py
+++ b/
pym/_emerge/actions.py
@@
-829,7
+829,12
@@
def calc_depclean(settings, trees, ldpath_mtimes,
msg.append("the following required packages not being installed:")
msg.append("")
for atom, parent in unresolvable:
- msg.append(" %s pulled in by:" % (atom,))
+ if atom != atom.unevaluated_atom and \
+ vardb.match(_unicode(atom)):
+ msg.append(" %s (%s) pulled in by:" %
+ (atom.unevaluated_atom, atom))
+ else:
+ msg.append(" %s pulled in by:" % (atom,))
msg.append(" %s" % (parent,))
msg.append("")
msg.extend(textwrap.wrap(