From: Zac Medico Date: Mon, 4 Sep 2006 18:50:25 +0000 (-0000) Subject: Move setcpv call (from the last commit) to a more logical location. X-Git-Tag: v2.1.1~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=61fddaa93a08d593ad8e5a7ace10c792de57b488;p=portage.git Move setcpv call (from the last commit) to a more logical location. svn path=/main/trunk/; revision=4402 --- diff --git a/bin/repoman b/bin/repoman index 9b052ff12..148cd945c 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1136,6 +1136,8 @@ for x in scanlist: 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) @@ -1158,7 +1160,7 @@ for x in scanlist: if prof[1] == "dev": suffix=suffix+"indev" - dep_settings.setcpv("/".join((catdir, y))) + for mytype,mypos in [["DEPEND",len(missingvars)],["RDEPEND",len(missingvars)+1],["PDEPEND",len(missingvars)+2]]: mykey=mytype+".bad"+suffix