summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman23
1 files changed, 6 insertions, 17 deletions
diff --git a/bin/repoman b/bin/repoman
index 00a1fd50..23fcd4da 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -30,7 +30,7 @@ except ImportError:
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
@@ -47,22 +47,11 @@ from portage import subprocess_getstatusoutput
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
@@ -72,8 +61,8 @@ from portage import util
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