from portage.versions import pkgsplit, catpkgsplit, catsplit, best, pkgcmp
from portage import listdir, dep_expand, config, flatten, key_expand, \
- doebuild_environment, doebuild, env_update, dircache, \
+ doebuild_environment, doebuild, env_update, \
abssymlink, movefile, bsd_chflags
import os, sys, stat, errno, commands, copy, time
@type new_contents: Dictionary
@rtype: None
"""
- global dircache
- dircache={}
if not pkgfiles:
writemsg_stdout("No package files given... Grabbing a set.\n")
env_update(makelinks=(not downgrade),
target_root=self.settings["ROOT"], prev_mtimes=prev_mtimes,
contents=contents, env=self.settings.environ())
- #dircache may break autoclean because it remembers the -MERGING-pkg file
- global dircache
- if dircache.has_key(self.dbcatdir):
- del dircache[self.dbcatdir]
+
writemsg_stdout(">>> %s %s\n" % (self.mycpv,"merged."))
# Process ebuild logfiles