From: Zac Medico Date: Wed, 6 Sep 2006 07:23:19 +0000 (-0000) Subject: Call dep_settings.setcpv() first so that ACCEPT_KEYWORDS when setcpv calls reset... X-Git-Tag: v2.1.1~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3b3a7b69d70a9e4ac34a5b3a864021595adece5;p=portage.git Call dep_settings.setcpv() first so that ACCEPT_KEYWORDS when setcpv calls reset. The backup_changes call isn't working for some reason (reported by vapier). svn path=/main/trunk/; revision=4414 --- diff --git a/bin/repoman b/bin/repoman index 148cd945c..2da6bea86 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1133,11 +1133,11 @@ for x in scanlist: trees["/"]["porttree"].settings = dep_settings portdb.mysettings = dep_settings + # for package.use.mask support inside dep_check + dep_settings.setcpv("/".join((catdir, y))) dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups) # just in case, prevent config.reset() from nuking these. dep_settings.backup_changes("ACCEPT_KEYWORDS") - # for package.use.mask support inside dep_check - dep_settings.setcpv("/".join((catdir, y))) for myprovide in myaux["PROVIDE"].split(): prov_cp = portage.dep_getkey(myprovide)