from portage.util import ensure_dirs, writemsg
import portage
from portage import os
+from portage import shutil
from portage import _encodings
from portage import _unicode_decode
from portage import _unicode_encode
import io
import logging
-import shutil
from portage.output import colorize
class Binpkg(CompositeTask):
import pwd
import random
import re
-import shutil
import signal
import socket
import stat
)
from portage import os
+from portage import shutil
from portage import subprocess_getstatusoutput
from portage import _unicode_decode
from portage.cache.cache_errors import CacheError
# This is a special version of the os module, wrapped for unicode support.
from portage import os
+from portage import shutil
from portage import _encodings
from portage import _os_merge
from portage import _selinux_merge
import os as _os
import pwd
import re
-import shutil
import stat
import sys
import tempfile
# Copyright 2010-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-import shutil
import tempfile
from portage import os
+from portage import shutil
from portage.const import EBUILD_PHASES
from portage.elog import elog_process
from portage.package.ebuild.config import config
import logging
import os as _os
import re
-import shutil
import signal
import stat
import sys
)
from portage import auxdbkeys, bsd_chflags, \
- eapi_is_supported, merge, os, selinux, \
+ eapi_is_supported, merge, os, selinux, shutil, \
unmerge, _encodings, _parse_eapi_ebuild_head, _os_merge, \
_shell_quote, _unicode_decode, _unicode_encode
from portage.const import EBUILD_SH_ENV_FILE, EBUILD_SH_ENV_DIR, \
import logging
import random
import re
-import shutil
import stat
import sys
import tempfile
'portage.package.ebuild.prepare_build_dirs:prepare_build_dirs',
)
-from portage import OrderedDict, os, selinux, _encodings, \
+from portage import OrderedDict, os, selinux, shutil, _encodings, \
_shell_quote, _unicode_encode
from portage.checksum import hashfunc_map, perform_md5, verify_all
from portage.const import BASH_BINARY, CUSTOM_MIRRORS_FILE, \
import errno
import gzip
-import shutil
import stat
import time
import portage
-from portage import os, _encodings, _unicode_encode, _unicode_decode
+from portage import os, shutil, _encodings, _unicode_encode, _unicode_decode
from portage.data import portage_gid, portage_uid, secpass
from portage.exception import DirectoryNotFound, FileNotFound, \
OperationNotPermitted, PermissionDenied, PortageException
# Copyright 2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-import shutil
import tempfile
from portage import os
+from portage import shutil
from portage.dbapi.virtual import fakedbapi
from portage.package.ebuild.config import config
from portage.tests import TestCase
-# Copyright 2010 Gentoo Foundation
+# Copyright 2010-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-import shutil
import tempfile
import time
from portage import os
+from portage import shutil
from portage import _python_interpreter
from portage.tests import TestCase
from portage.const import PORTAGE_BIN_PATH
# Copyright 2010-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-import shutil
import signal
import tempfile
from portage import os
+from portage import shutil
from portage.tests import TestCase
from _emerge.AsynchronousLock import AsynchronousLock
from _emerge.PollScheduler import PollScheduler
# Copyright 2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-import shutil
import tempfile
import traceback
import portage
from portage import os
+from portage import shutil
from portage.tests import TestCase
class LockNonblockTestCase(TestCase):
# Copyright 2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-import shutil
import subprocess
import sys
import time
import portage
from portage import os
+from portage import shutil
from portage import _unicode_decode
from portage.const import PORTAGE_BASE_PATH, PORTAGE_BIN_PATH, PORTAGE_PYM_PATH
from portage.process import find_binary
# Distributed under the terms of the GNU General Public License v2
from itertools import permutations
-import shutil
import sys
import tempfile
import portage
from portage import os
+from portage import shutil
from portage.const import (GLOBAL_CONFIG_PATH, PORTAGE_BASE_PATH,
USER_CONFIG_PATH)
from portage.dbapi.vartree import vartree
import array
import errno
-import shutil
import sys
import portage
from portage import os
+from portage import shutil
from portage import normalize_path
from portage import _encodings
from portage import _unicode_decode
import time
import textwrap
import difflib
-import shutil
from tempfile import mkstemp
from portage import os
+from portage import shutil
from portage import subprocess_getstatusoutput
from portage import _encodings
from portage import _unicode_decode