public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r9525 - main/trunk/bin
@ 2008-03-28  4:14 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-03-28  4:14 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-03-28 04:14:50 +0000 (Fri, 28 Mar 2008)
New Revision: 9525

Modified:
   main/trunk/bin/repoman
Log:
Bug #213629 - Use EAPI.incompatible in cases where EAPI=0 and a default
IUSE is encountered.


Modified: main/trunk/bin/repoman
===================================================================
--- main/trunk/bin/repoman	2008-03-28 04:07:13 UTC (rev 9524)
+++ main/trunk/bin/repoman	2008-03-28 04:14:50 UTC (rev 9525)
@@ -1192,8 +1192,15 @@
 			for mypos in range(len(myuse)-1,-1,-1):
 				if myuse[mypos] and (myuse[mypos] in luselist[mykey]):
 					del myuse[mypos]
-		if default_use and myaux["EAPI"] == "0":
-			myuse += default_use
+
+		if default_use and eapi == "0":
+			for myflag in default_use:
+				stats['EAPI.incompatible'] += 1
+				fails['EAPI.incompatible'].append(
+					(relative_path + ": IUSE defaults" + \
+					" not supported with EAPI='%s':" + \
+					" '%s'") % (eapi, myflag))
+
 		for mypos in range(len(myuse)):
 			stats["IUSE.invalid"]=stats["IUSE.invalid"]+1
 			fails["IUSE.invalid"].append(x+"/"+y+".ebuild: %s" % myuse[mypos])	

-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-28  4:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-28  4:14 [gentoo-commits] portage r9525 - main/trunk/bin Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox