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 1QGZ2a-0003Qa-Gh for garchives@archives.gentoo.org; Sun, 01 May 2011 15:58:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1DF681C003; Sun, 1 May 2011 15:58:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DAAA21C003 for ; Sun, 1 May 2011 15:58:28 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 686741B4056 for ; Sun, 1 May 2011 15:58:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C34A180505 for ; Sun, 1 May 2011 15:58:27 +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: <4e02baaa767e13c3b99ddeca1e9a8a05abd30783.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: man/, bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/repoman man/repoman.1 X-VCS-Directories: man/ bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 4e02baaa767e13c3b99ddeca1e9a8a05abd30783 Date: Sun, 1 May 2011 15:58:27 +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: 9d6113a3df02e55656fbf164e447cf0b commit: 4e02baaa767e13c3b99ddeca1e9a8a05abd30783 Author: Ulrich Mueller gentoo org> AuthorDate: Sun May 1 15:57:33 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun May 1 15:57:33 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D4e02baaa repoman: Check for PROVIDE. This will fix bug #365505. --- bin/repoman | 5 +++++ man/repoman.1 | 3 +++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/bin/repoman b/bin/repoman index f3956d6..c89f2b8 100755 --- a/bin/repoman +++ b/bin/repoman @@ -366,6 +366,7 @@ qahelp=3D{ "metadata.bad":"Bad metadata.xml files", "metadata.warning":"Warnings in metadata.xml files", "portage.internal":"The ebuild uses an internal Portage function", + "virtual.oldstyle":"The ebuild PROVIDEs an old-style virtual (see GLEP = 37)", "virtual.versioned":"PROVIDE contains virtuals with versions", "virtual.exists":"PROVIDE contains existing package names", "virtual.unavailable":"PROVIDE contains a virtual which contains no pro= file default", @@ -1548,6 +1549,10 @@ for x in scanlist: stats["virtual.exists"]+=3D1 fails["virtual.exists"].append(x+"/"+y+".ebuild: "+prov_cp) =20 + if myaux.get("PROVIDE"): + stats["virtual.oldstyle"]+=3D1 + fails["virtual.oldstyle"].append(relative_path) + for pos, missing_var in enumerate(missingvars): if not myaux.get(missing_var): if catdir =3D=3D "virtual" and \ diff --git a/man/repoman.1 b/man/repoman.1 index 162b62b..7c34024 100644 --- a/man/repoman.1 +++ b/man/repoman.1 @@ -353,6 +353,9 @@ Ebuild uses D, ROOT, ED, EROOT or EPREFIX with helper= s .B virtual.exists PROVIDE contains existing package names .TP +.B virtual.oldstyle +The ebuild PROVIDEs an old-style virtual (see GLEP 37) +.TP .B virtual.unavailable PROVIDE contains a virtual which contains no profile default .TP