Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9598 - main/branches/2.1.2/bin
Date: Sat, 29 Mar 2008 06:56:31
Message-Id: E1JfUzM-0000sU-2f@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-03-29 06:56:27 +0000 (Sat, 29 Mar 2008)
3 New Revision: 9598
4
5 Modified:
6 main/branches/2.1.2/bin/repoman
7 Log:
8 Don't trigger the 'java.eclassesnotused' on blocker atoms. (trunk r9586)
9
10
11 Modified: main/branches/2.1.2/bin/repoman
12 ===================================================================
13 --- main/branches/2.1.2/bin/repoman 2008-03-29 06:54:53 UTC (rev 9597)
14 +++ main/branches/2.1.2/bin/repoman 2008-03-29 06:56:27 UTC (rev 9598)
15 @@ -1646,8 +1646,12 @@
16 if not portage.isvalidatom(token, allow_blockers=True):
17 badsyntax.append("'%s' not a valid atom" % token)
18 else:
19 - atom = token.lstrip("!")
20 + atom = token
21 + is_blocker = atom.startswith("!")
22 + if is_blocker:
23 + atom = token.lstrip("!")
24 if mytype == "DEPEND" and \
25 + not is_blocker and \
26 not inherited_java_eclass and \
27 portage.dep_getkey(atom) == "virtual/jdk":
28 stats['java.eclassesnotused'] += 1
29
30 --
31 gentoo-commits@l.g.o mailing list