# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import codecs
import logging
import sys
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
try:
from subprocess import getstatusoutput as subprocess_getstatusoutput
except ImportError:
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
import time
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import gc
import logging
import re
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import codecs
import sys
import time
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
from portage.output import bold, turquoise, green
def shorthelp():
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import logging
import signal
import sys
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import re
from itertools import izip
import portage
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import logging
import sys
import textwrap
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
from portage.output import bold, create_color_func
# START OF IMPORTS -- START OF IMPORTS -- START OF IMPORTS -- START OF IMPORT
# ===========================================================================
+from __future__ import print_function
+
try:
import sys
import codecs
# License: GPL2
# $Id$
+from __future__ import print_function
+
__all__ = ["mirror_cache", "non_quiet_mirroring", "quiet_mirroring"]
from itertools import chain
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import codecs
import re
import time
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
__all__ = ["portdbapi", "close_portdbapi_caches", "portagetree"]
import portage
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
__all__ = ["PreservedLibsRegistry", "LinkageMap",
"vardbapi", "vartree", "dblink"] + \
["write_contents", "tar_contents"]
# Library by Wayne Davison <gentoo@blorf.net>, derived from code
# written by Jeremy Wohl (http://igmus.org)
+from __future__ import print_function
+
import os, sys, shutil
try:
from subprocess import getoutput as subprocess_getoutput
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
from portage.output import EOutput, colorize
from portage.const import EBUILD_PHASES
from portage.localization import _
__all__ = ["SETPREFIX", "get_boolean", "SetConfigError",
"SetConfig", "load_default_config"]
+from __future__ import print_function
+
try:
from configparser import SafeConfigParser, NoOptionError
except ImportError:
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
from portage.localization import _
from portage.sets.base import PackageSet
from portage.sets import get_boolean