Remove unused BinpkgMerge class.
authorZac Medico <zmedico@gentoo.org>
Thu, 3 Jul 2008 08:17:09 +0000 (08:17 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 3 Jul 2008 08:17:09 +0000 (08:17 -0000)
svn path=/main/trunk/; revision=10907

pym/_emerge/__init__.py

index b3e6c7a10099b89638c6cf17420eff337d9b8728..ffb10fe6a8b9671f38dbab6cdd22e0b260834568 100644 (file)
@@ -2452,33 +2452,6 @@ class BinpkgExtractorAsync(SpawnProcess):
                self.env = self.pkg.root_config.settings.environ()
                SpawnProcess.start(self)
 
-class BinpkgMerge(Task):
-
-       __slots__ = ("find_blockers", "ldpath_mtimes",
-               "pkg", "pretend", "pkg_path", "settings")
-
-       def _get_hash_key(self):
-               hash_key = getattr(self, "_hash_key", None)
-               if hash_key is None:
-                       self._hash_key = ("BinpkgMerge", self.pkg._get_hash_key())
-               return self._hash_key
-
-       def execute(self):
-
-               settings = self.settings
-               settings["EMERGE_FROM"] = self.pkg.type_name
-               settings.backup_changes("EMERGE_FROM")
-               settings.reset()
-
-               root_config = self.pkg.root_config
-               retval = portage.pkgmerge(self.pkg_path, root_config.root,
-                       self.settings,
-                       mydbapi=root_config.trees["bintree"].dbapi,
-                       vartree=root_config.trees["vartree"],
-                       prev_mtimes=self.ldpath_mtimes,
-                       blockers=self.find_blockers)
-               return retval
-
 class DependencyArg(object):
        def __init__(self, arg=None, root_config=None):
                self.arg = arg