from urllib import urlopen as urllib_request_urlopen
from itertools import chain
-from stat import S_ISDIR, ST_CTIME
+from stat import S_ISDIR
if not hasattr(__builtins__, "set"):
from sets import Set as set
from portage import _encodings
from portage import _unicode_encode
from portage import StringIO
-
-try:
- from repoman.checks import run_checks
- from repoman import utilities
- from repoman.herdbase import make_herd_base
-except ImportError:
- from os import path as osp
- sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), 'pym'))
- from repoman.checks import run_checks
- from repoman import utilities
- from repoman.herdbase import make_herd_base
-
+from repoman.checks import run_checks
+from repoman import utilities
+from repoman.herdbase import make_herd_base
from _emerge.Package import Package
from _emerge.RootConfig import RootConfig
-from portage.sets import load_default_config
-
import portage.checksum
import portage.const
import portage.dep
from portage.exception import FileNotFound, ParseError, PermissionDenied
from portage.manifest import Manifest
from portage.process import find_binary, spawn
-from portage.output import bold, create_color_func, darkgreen, \
- green, nocolor, red, turquoise, yellow
+from portage.output import bold, create_color_func, \
+ green, nocolor, red
from portage.output import ConsoleStyleFile, StyleWriter
from portage.util import cmp_sort_key, writemsg_level
from portage.package.ebuild.digestgen import digestgen