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 ) id 1QfDjq-0001fu-Cv for garchives@archives.gentoo.org; Fri, 08 Jul 2011 16:17:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8914A21C049; Fri, 8 Jul 2011 16:17:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5E8F221C111 for ; Fri, 8 Jul 2011 16:17:01 +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 E0B5F2AC0EA for ; Fri, 8 Jul 2011 16:17:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 44FD78003D for ; Fri, 8 Jul 2011 16:17:00 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: 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: a630e065339abdd76038da568000773bc56f1c97 Date: Fri, 8 Jul 2011 16:17:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 085012461ff38865eaaad42877237386 commit: a630e065339abdd76038da568000773bc56f1c97 Author: Zac Medico gentoo org> AuthorDate: Fri Jul 8 16:16:39 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Jul 8 16:16:39 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Da630e065 getportageversion: omit implicit -r0 for libc --- pym/_emerge/actions.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 8601929..e57fd93 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2823,7 +2823,10 @@ def getportageversion(portdir, target_root, profil= e, chost, vardb): libclist.update(vardb.match(atom)) if libclist: for cpv in sorted(libclist): - libcver.append("-".join(portage.catpkgsplit(cpv)[1:])) + libc_split =3D portage.catpkgsplit(cpv)[1:] + if libc_split[-1] =3D=3D "r0": + libc_split[:-1] + libcver.append("-".join(libc_split)) else: libcver =3D ["unavailable"] =20