# Jeremy Wohl's dispatch-conf script and the portage chkcontents script.
#
+from __future__ import print_function
+
import sys
from portage import os
# interpreted as pointers. Those are almost guaranteed to cause
# crashes.
#
+
+from __future__ import print_function
+
import re
import sys
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys, errno
# for an explanation on this logic, see pym/_emerge/__init__.py
from os import environ as ose
# dialog menus
#
+from __future__ import print_function
+
if not hasattr(__builtins__, "set"):
from sets import Set as set
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
# This block ensures that ^C interrupts are handled quietly.
try:
# - will do as 'dohtml -r', but ignore directories named CVS, SCCS, RCS
#
+from __future__ import print_function
+
import os
import sys
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
# This block ensures that ^C interrupts are handled quietly.
try:
#!@PORTAGE_PYTHON@ -O
# vim: noet :
+
+from __future__ import print_function
+
import re
import signal
import sys
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import os
+from __future__ import print_function
+
import sys
# This block ensures that ^C interrupts are handled quietly.
try:
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import sys, errno
+from __future__ import print_function
+
+import errno
+import sys
def usage(status):
print("Usage: env-update [--no-ldconfig]")
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import os,sys
os.environ["PORTAGE_CALLER"]="fixpackages"
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
# for an explanation on this logic, see pym/_emerge/__init__.py
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
# This block ensures that ^C interrupts are handled quietly.
try:
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import errno, signal, sys
+from __future__ import print_function
+
+import errno
+import signal
+import sys
from itertools import izip
from os import environ as ose
# NOTE: this file does not respect ROOT
+from __future__ import print_function
+
import sys
# for an explanation on this logic, see pym/_emerge/__init__.py
from os import environ as ose
# Then, check to make sure deps are satisfiable (to avoid "can't find match for" problems)
# that last one is tricky because multiple profiles need to be checked.
+from __future__ import print_function
+
import codecs
import commands
import errno
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
import os, sys
import os.path as osp