From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 23C661381FA for ; Mon, 31 Dec 2012 23:53:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D2F2E0138; Mon, 31 Dec 2012 23:53:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5F8E21C066 for ; Mon, 31 Dec 2012 23:53:01 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3D0133D3DE for ; Mon, 31 Dec 2012 23:53:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3AF7FE543D for ; Mon, 31 Dec 2012 23:52:59 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1356997966.925eadd210dbc3802000d92f458ae7029832273e.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/actions.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 925eadd210dbc3802000d92f458ae7029832273e X-VCS-Branch: master Date: Mon, 31 Dec 2012 23:52:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 83d66d1b-5af8-4c8b-bdb8-36db088d5a03 X-Archives-Hash: f06f07cee220952a5d9b2f5448889e4a commit: 925eadd210dbc3802000d92f458ae7029832273e Author: Zac Medico gentoo org> AuthorDate: Mon Dec 31 23:52:46 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Dec 31 23:52:46 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=925eadd2 emerge --depclean: clarify unsatisfied atoms 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 | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index a498ae4..6a3815a 100644 --- 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(