-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
import copy
-from _emerge.SlotObject import SlotObject
+from portage.util.SlotObject import SlotObject
class AbstractDepPriority(SlotObject):
__slots__ = ("buildtime", "runtime", "runtime_post")
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from portage import os
-from _emerge.SlotObject import SlotObject
+from portage.util.SlotObject import SlotObject
+
class AsynchronousTask(SlotObject):
"""
Subclasses override _wait() and _poll() so that calls
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+from portage.util.SlotObject import SlotObject
from _emerge.DepPriority import DepPriority
-from _emerge.SlotObject import SlotObject
+
class Dependency(SlotObject):
__slots__ = ("atom", "blocker", "child", "depth",
"parent", "onlydeps", "priority", "root",
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from _emerge.AsynchronousLock import AsynchronousLock
-from _emerge.SlotObject import SlotObject
+
import portage
from portage import os
from portage.exception import PortageException
+from portage.util.SlotObject import SlotObject
import errno
class EbuildBuildDir(SlotObject):
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-from _emerge.SlotObject import SlotObject
import portage
from portage import os
from portage.elog.messages import eerror
+from portage.util.SlotObject import SlotObject
class EbuildFetchonly(SlotObject):
from portage import _encodings
from portage import _unicode_encode
from portage.util import writemsg_level
+from portage.util.SlotObject import SlotObject
from portage.util._eventloop.global_event_loop import global_event_loop
-from _emerge.SlotObject import SlotObject
from _emerge.getloadavg import getloadavg
class PollScheduler(object):
from portage._sets import SETPREFIX
from portage._sets.base import InternalPackageSet
from portage.util import ensure_dirs, writemsg, writemsg_level
+from portage.util.SlotObject import SlotObject
from portage.package.ebuild.digestcheck import digestcheck
from portage.package.ebuild.digestgen import digestgen
from portage.package.ebuild.doebuild import (_check_temp_dir,
from _emerge.Package import Package
from _emerge.PackageMerge import PackageMerge
from _emerge.PollScheduler import PollScheduler
-from _emerge.SlotObject import SlotObject
from _emerge.SequentialTaskQueue import SequentialTaskQueue
if sys.hexversion >= 0x3000000:
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-import sys
-from _emerge.SlotObject import SlotObject
from collections import deque
+import sys
+
+from portage.util.SlotObject import SlotObject
+
class SequentialTaskQueue(SlotObject):
__slots__ = ("max_jobs", "running_tasks") + \
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-from _emerge.SlotObject import SlotObject
+from portage.util.SlotObject import SlotObject
+
class Task(SlotObject):
__slots__ = ("_hash_key", "_hash_value")
import time
from portage.util import writemsg_level
+from portage.util.SlotObject import SlotObject
-from _emerge.SlotObject import SlotObject
from _emerge.PollConstants import PollConstants
from _emerge.PollSelectAdapter import PollSelectAdapter