public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:2.1.9 commit in: man/, bin/
Date: Wed,  4 May 2011 20:03:35 +0000 (UTC)	[thread overview]
Message-ID: <0256a96fc5be3f3ed303d2993bd7fd9b75ec8ecf.zmedico@gentoo> (raw)

commit:     0256a96fc5be3f3ed303d2993bd7fd9b75ec8ecf
Author:     Ulrich Mueller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun May  1 15:57:33 2011 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed May  4 19:49:15 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0256a96f

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 d6c26d6..017a27b 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -366,6 +366,7 @@ qahelp={
 	"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 profile default",
@@ -1547,6 +1548,10 @@ for x in scanlist:
 				stats["virtual.exists"]+=1
 				fails["virtual.exists"].append(x+"/"+y+".ebuild: "+prov_cp)
 
+		if myaux.get("PROVIDE"):
+			stats["virtual.oldstyle"]+=1
+			fails["virtual.oldstyle"].append(relative_path)
+
 		for pos, missing_var in enumerate(missingvars):
 			if not myaux.get(missing_var):
 				if catdir == "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 helpers
 .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



             reply	other threads:[~2011-05-04 20:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04 20:03 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-05-04 20:03 [gentoo-commits] proj/portage:2.1.9 commit in: man/, bin/ Zac Medico
2011-05-04 20:03 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0256a96fc5be3f3ed303d2993bd7fd9b75ec8ecf.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox