public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11212 - main/branches/prefix/bin
@ 2008-07-27 11:29 Fabian Groffen (grobian)
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2008-07-27 11:29 UTC (permalink / raw
  To: gentoo-commits

Author: grobian
Date: 2008-07-27 11:29:55 +0000 (Sun, 27 Jul 2008)
New Revision: 11212

Modified:
   main/branches/prefix/bin/repoman
Log:
   Merged from trunk 11209:11210

   | 11210   | * Define a frozenset of live eclasses for the LIVEVCS.stable |
   | zmedico | check. * Add "mercurial" to the list of known live eclasses. |


Modified: main/branches/prefix/bin/repoman
===================================================================
--- main/branches/prefix/bin/repoman	2008-07-27 11:28:26 UTC (rev 11211)
+++ main/branches/prefix/bin/repoman	2008-07-27 11:29:55 UTC (rev 11212)
@@ -372,6 +372,14 @@
 	"fetch", "installsources", "mirror",
 	"primaryuri", "strip", "test", "userpriv"])
 
+live_eclasses = frozenset([
+	"cvs",
+	"darcs",
+	"git",
+	"mercurial",
+	"subversion"
+])
+
 suspect_rdepend = frozenset([
 	"app-arch/cabextract",
 	"app-arch/rpm2targz",
@@ -1220,10 +1228,9 @@
 		Ebuilds that inherit a "Live" eclass (darcs,subversion,git,cvs,etc..) should
 		not be allowed to be marked stable
 		"""
-		if set(["darcs","cvs","subversion","git"]).intersection(
-			myaux["INHERITED"].split()):
+		if live_eclasses.intersection(pkg.inherited):
 			bad_stable_keywords = []
-			for keyword in myaux["KEYWORDS"].split():
+			for keyword in keywords:
 				if not keyword.startswith("~") and \
 					not keyword.startswith("-"):
 					bad_stable_keywords.append(keyword)




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

only message in thread, other threads:[~2008-07-27 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-27 11:29 [gentoo-commits] portage r11212 - main/branches/prefix/bin Fabian Groffen (grobian)

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