Move setcpv call (from the last commit) to a more logical location.
authorZac Medico <zmedico@gentoo.org>
Mon, 4 Sep 2006 18:50:25 +0000 (18:50 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 4 Sep 2006 18:50:25 +0000 (18:50 -0000)
svn path=/main/trunk/; revision=4402

bin/repoman

index 9b052ff1255c472df35946def9b5fd14cec34164..148cd945cca131284544923aba394a6ff5b60e79 100755 (executable)
@@ -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