Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13884 - in main/trunk: bin man
Date: Tue, 04 Aug 2009 00:13:10
Message-Id: E1MY7eO-0001M3-O1@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-08-04 00:13:08 +0000 (Tue, 04 Aug 2009)
3 New Revision: 13884
4
5 Modified:
6 main/trunk/bin/repoman
7 main/trunk/man/repoman.1
8 Log:
9 Add a PDEPEND.suspect category.
10
11
12 Modified: main/trunk/bin/repoman
13 ===================================================================
14 --- main/trunk/bin/repoman 2009-08-03 23:43:52 UTC (rev 13883)
15 +++ main/trunk/bin/repoman 2009-08-04 00:13:08 UTC (rev 13884)
16 @@ -284,6 +284,7 @@
17 "DEPEND.badmaskedindev":"Masked ebuilds with bad DEPEND settings (matched against *all* ebuilds) in developing arch",
18 "RDEPEND.badmaskedindev":"Masked ebuilds with RDEPEND settings (matched against *all* ebuilds) in developing arch",
19 "PDEPEND.badmaskedindev":"Masked ebuilds with PDEPEND settings (matched against *all* ebuilds) in developing arch",
20 + "PDEPEND.suspect":"PDEPEND contains a package that usually only belongs in DEPEND.",
21 "DEPEND.syntax":"Syntax error in DEPEND (usually an extra/missing space/parenthesis)",
22 "RDEPEND.syntax":"Syntax error in RDEPEND (usually an extra/missing space/parenthesis)",
23 "PDEPEND.syntax":"Syntax error in PDEPEND (usually an extra/missing space/parenthesis)",
24 @@ -342,6 +343,7 @@
25 "KEYWORDS.stupid",
26 "KEYWORDS.missing",
27 "IUSE.undefined",
28 +"PDEPEND.suspect",
29 "RDEPEND.implicit",
30 "RDEPEND.suspect",
31 "RESTRICT.invalid",
32 @@ -1430,11 +1432,11 @@
33 portage.dep_getkey(atom) == "virtual/jdk":
34 stats['java.eclassesnotused'] += 1
35 fails['java.eclassesnotused'].append(relative_path)
36 - elif mytype == "RDEPEND":
37 + elif mytype in ("PDEPEND", "RDEPEND"):
38 if not is_blocker and \
39 portage.dep_getkey(atom) in suspect_rdepend:
40 - stats['RDEPEND.suspect'] += 1
41 - fails['RDEPEND.suspect'].append(
42 + stats[mytype + '.suspect'] += 1
43 + fails[mytype + '.suspect'].append(
44 relative_path + ": '%s'" % atom)
45 if eapi == "0":
46 if portage.dep.dep_getslot(atom):
47
48 Modified: main/trunk/man/repoman.1
49 ===================================================================
50 --- main/trunk/man/repoman.1 2009-08-03 23:43:52 UTC (rev 13883)
51 +++ main/trunk/man/repoman.1 2009-08-04 00:13:08 UTC (rev 13884)
52 @@ -161,6 +161,9 @@
53 .B PDEPEND.badmaskedindev
54 Masked ebuilds with PDEPEND settings (matched against *all* ebuilds) in developing arch
55 .TP
56 +.B PDEPEND.suspect
57 +PDEPEND contains a package that usually only belongs in DEPEND
58 +.TP
59 .B PDEPEND.syntax
60 Syntax error in PDEPEND (usually an extra/missing space/parenthesis)
61 .TP