svn path=/main/trunk/; revision=3524
for x in mymergelist:
if x[0] != "ebuild":
continue
+ self.pkgsettings.reset()
+ self.pkgsettings.setcpv(x[2])
try:
ret = portage.doebuild(portage.portdb.findname(x[2]), "fetch", x[1], self.pkgsettings,
cleanup=0, fetchonly=True, tree="porttree")
self.puse = newpuse
self.configdict["pkg"]["PKGUSE"] = self.puse[:] # For saving to PUSE file
self.configdict["pkg"]["USE"] = self.puse[:] # this gets appended to USE
+ # CATEGORY is essential for doebuild calls
+ self.configdict["pkg"]["CATEGORY"] = mycpv.split("/")[0]
self.reset(keeping_pkg=1,use_cache=use_cache)
def setinst(self,mycpv,mydbapi):