Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/
Date: Mon, 31 Dec 2012 23:53:10
Message-Id: 1356997966.925eadd210dbc3802000d92f458ae7029832273e.zmedico@gentoo
1 commit: 925eadd210dbc3802000d92f458ae7029832273e
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 31 23:52:46 2012 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 31 23:52:46 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=925eadd2
7
8 emerge --depclean: clarify unsatisfied atoms
9
10 If the atom is unsatisfied due to a USE dep that's only visible in the
11 unevaluated form, then display the unevaluated form.
12
13 ---
14 pym/_emerge/actions.py | 7 ++++++-
15 1 files changed, 6 insertions(+), 1 deletions(-)
16
17 diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
18 index a498ae4..6a3815a 100644
19 --- a/pym/_emerge/actions.py
20 +++ b/pym/_emerge/actions.py
21 @@ -829,7 +829,12 @@ def calc_depclean(settings, trees, ldpath_mtimes,
22 msg.append("the following required packages not being installed:")
23 msg.append("")
24 for atom, parent in unresolvable:
25 - msg.append(" %s pulled in by:" % (atom,))
26 + if atom != atom.unevaluated_atom and \
27 + vardb.match(_unicode(atom)):
28 + msg.append(" %s (%s) pulled in by:" %
29 + (atom.unevaluated_atom, atom))
30 + else:
31 + msg.append(" %s pulled in by:" % (atom,))
32 msg.append(" %s" % (parent,))
33 msg.append("")
34 msg.extend(textwrap.wrap(