Fix java.eclassesnotused logic. Thanks to Betelgeuse. (trunk r9732)
authorZac Medico <zmedico@gentoo.org>
Tue, 8 Apr 2008 04:56:58 +0000 (04:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 8 Apr 2008 04:56:58 +0000 (04:56 -0000)
svn path=/main/branches/2.1.2/; revision=9750

bin/repoman

index 6a1f0b94ce18fb0e2b4c3c1723a6a810e920e732..70c1fad8da62b86ae5d59edf13eca5f04c82d84f 100755 (executable)
@@ -1611,7 +1611,8 @@ for x in scanlist:
                                myflag = myflag[1:]
                        myiuse.add(myflag)
 
-               inherited_java_eclass = "java-pkg" in inherited
+               inherited_java_eclass = "java-pkg-2" in inherited or \
+                       "java-pkg-opt-2" in inherited
                operator_tokens = set(["||", "(", ")"])
                type_list, badsyntax = [], []
                for mytype in ("DEPEND", "RDEPEND", "PDEPEND", "LICENSE", "PROVIDE"):