summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-26 08:19:54 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-26 08:19:54 +0000
commit67adb107826300b1ae0b02cf38f1594d1b7302ab (patch)
tree759ebd79939f781e8de9059b9adc04022d05f178
parent2fbb0fc48aa88f5960be4d2d5203c0733d15e8cf (diff)
downloadportage-67adb107826300b1ae0b02cf38f1594d1b7302ab.tar.gz
portage-67adb107826300b1ae0b02cf38f1594d1b7302ab.tar.bz2
portage-67adb107826300b1ae0b02cf38f1594d1b7302ab.zip
Use the correct ACCEPT_KEYWORDS for each profile (regression from r3231).
svn path=/main/trunk/; revision=3240
-rwxr-xr-xbin/repoman5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index 4735d6875..ef62f3c1e 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1096,11 +1096,12 @@ for x in scanlist:
dep_settings, portage.portdb, portage.db["/"]["porttree"] = arch_caches[prof[0]]
else:
dep_settings=portage.config(config_profile_path=profdir, config_incrementals=portage_const.INCREMENTALS)
- dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups)
portage.portdb=portage.portdbapi(portdir, dep_settings)
portage.db["/"]["porttree"]=portage.portagetree("/",dep_settings.getvirtuals("/"))
arch_caches[prof[0]]=[dep_settings, portage.portdb, portage.db["/"]["porttree"]]
-
+
+ dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups)
+
for myprovide in myaux["PROVIDE"].split():
prov_cp = portage.dep_getkey(myprovide)
if prov_cp not in dep_settings.getvirtuals():