From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-commits+bounces-391079-garchives=archives.gentoo.org@lists.gentoo.org>) id 1RDIQ0-0008Lx-W3 for garchives@archives.gentoo.org; Mon, 10 Oct 2011 16:09:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EAF921C1A3; Mon, 10 Oct 2011 16:09:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 58DEC21C1A3 for <gentoo-commits@lists.gentoo.org>; Mon, 10 Oct 2011 16:09:23 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C53421B4019 for <gentoo-commits@lists.gentoo.org>; Mon, 10 Oct 2011 16:09:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id CA55F80042 for <gentoo-commits@lists.gentoo.org>; Mon, 10 Oct 2011 16:09:21 +0000 (UTC) From: "Brian Dolbec" <brian.dolbec@gmail.com> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" <brian.dolbec@gmail.com> Message-ID: <4fd527a67416ea278e450602c2bc73fe97ef06bc.dol-sen@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/revdep_rebuild/analyse.py pym/gentoolkit/revdep_rebuild/rebuild.py X-VCS-Directories: pym/gentoolkit/revdep_rebuild/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 4fd527a67416ea278e450602c2bc73fe97ef06bc Date: Mon, 10 Oct 2011 16:09:21 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 32101029b8e01256f2b9febf2ea4a0d3 commit: 4fd527a67416ea278e450602c2bc73fe97ef06bc Author: dol-sen <brian.dolbec <AT> gmail <DOT> com> AuthorDate: Mon Oct 10 16:03:32 2011 +0000 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> CommitDate: Mon Oct 10 16:03:32 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoolkit.gi= t;a=3Dcommit;h=3D4fd527a6 add --library output to revdep-rebuild. --- pym/gentoolkit/revdep_rebuild/analyse.py | 2 ++ pym/gentoolkit/revdep_rebuild/rebuild.py | 4 ++++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/re= vdep_rebuild/analyse.py index f992db0..79b8fe3 100644 --- a/pym/gentoolkit/revdep_rebuild/analyse.py +++ b/pym/gentoolkit/revdep_rebuild/analyse.py @@ -206,6 +206,8 @@ def analyse(settings, logger, libraries=3DNone, la_li= braries=3DNone, for ltc in _libs_to_check: if os.path.isfile(ltc): ltc =3D scan(['-nBSF', '%S'], [ltc,], settings['CMD_MAX_ARGS'])[0].s= plit()[0] + else: + logger.warn(yellow(' * ') + bold('Library "%s" was not found' % ltc)= ) nltc +=3D [ltc,] _libs_to_check =3D nltc =20 diff --git a/pym/gentoolkit/revdep_rebuild/rebuild.py b/pym/gentoolkit/re= vdep_rebuild/rebuild.py index c8e0b37..fe00069 100644 --- a/pym/gentoolkit/revdep_rebuild/rebuild.py +++ b/pym/gentoolkit/revdep_rebuild/rebuild.py @@ -205,6 +205,10 @@ def main(settings=3DNone, logger=3DNone): yellow('You are not root, adding --pretend to portage options')) settings['PRETEND'] =3D True =20 + if settings['library']: + logger.warn(green(' * ') +=20 + "Looking for libraries: %s" % (bold(', '.join(settings['library'])))) + if settings['USE_TMP_FILES'] \ and check_temp_files(settings['DEFAULT_TMP_DIR'], logger=3Dlogger): libraries, la_libraries, libraries_links, binaries =3D read_cache(