Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: man/, bin/
Date: Sun, 01 May 2011 15:58:36
Message-Id: 4e02baaa767e13c3b99ddeca1e9a8a05abd30783.zmedico@gentoo
1 commit: 4e02baaa767e13c3b99ddeca1e9a8a05abd30783
2 Author: Ulrich Mueller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 15:57:33 2011 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 15:57:33 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4e02baaa
7
8 repoman: Check for PROVIDE.
9
10 This will fix bug #365505.
11
12 ---
13 bin/repoman | 5 +++++
14 man/repoman.1 | 3 +++
15 2 files changed, 8 insertions(+), 0 deletions(-)
16
17 diff --git a/bin/repoman b/bin/repoman
18 index f3956d6..c89f2b8 100755
19 --- a/bin/repoman
20 +++ b/bin/repoman
21 @@ -366,6 +366,7 @@ qahelp={
22 "metadata.bad":"Bad metadata.xml files",
23 "metadata.warning":"Warnings in metadata.xml files",
24 "portage.internal":"The ebuild uses an internal Portage function",
25 + "virtual.oldstyle":"The ebuild PROVIDEs an old-style virtual (see GLEP 37)",
26 "virtual.versioned":"PROVIDE contains virtuals with versions",
27 "virtual.exists":"PROVIDE contains existing package names",
28 "virtual.unavailable":"PROVIDE contains a virtual which contains no profile default",
29 @@ -1548,6 +1549,10 @@ for x in scanlist:
30 stats["virtual.exists"]+=1
31 fails["virtual.exists"].append(x+"/"+y+".ebuild: "+prov_cp)
32
33 + if myaux.get("PROVIDE"):
34 + stats["virtual.oldstyle"]+=1
35 + fails["virtual.oldstyle"].append(relative_path)
36 +
37 for pos, missing_var in enumerate(missingvars):
38 if not myaux.get(missing_var):
39 if catdir == "virtual" and \
40
41 diff --git a/man/repoman.1 b/man/repoman.1
42 index 162b62b..7c34024 100644
43 --- a/man/repoman.1
44 +++ b/man/repoman.1
45 @@ -353,6 +353,9 @@ Ebuild uses D, ROOT, ED, EROOT or EPREFIX with helpers
46 .B virtual.exists
47 PROVIDE contains existing package names
48 .TP
49 +.B virtual.oldstyle
50 +The ebuild PROVIDEs an old-style virtual (see GLEP 37)
51 +.TP
52 .B virtual.unavailable
53 PROVIDE contains a virtual which contains no profile default
54 .TP