-import builder,os
-from catalyst_support import *
+import os
+
+from catalyst import builder
+from catalyst.support import *
class generic_alpha(builder.generic):
"abstract base class for all alpha builders"
-import builder
+from catalyst import builder
class generic_amd64(builder.generic):
"abstract base class for all amd64 builders"
-import builder,os
-from catalyst_support import *
+import os
+
+from catalyst import builder
+from catalyst.support import *
class generic_arm(builder.generic):
"Abstract base class for all arm (little endian) builders"
-import builder,os
-from catalyst_support import *
+import os
+
+from catalyst import builder
+from catalyst.support import *
class generic_hppa(builder.generic):
"Abstract base class for all hppa builders"
-import builder,os
-from catalyst_support import *
+import os
+
+from catalyst import builder
+from catalyst.support import *
class arch_ia64(builder.generic):
"builder class for ia64"
-import builder,os
-from catalyst_support import *
+import os
+
+from catalyst import builder
+from catalyst.support import *
class generic_mips(builder.generic):
"Abstract base class for all mips builders [Big-endian]"
-import os,builder
-from catalyst_support import *
+import os
+
+from catalyst import builder
+from catalyst.support import *
class generic_ppc(builder.generic):
"abstract base class for all 32-bit powerpc builders"
-import builder,os
-from catalyst_support import *
+import os
+
+from catalyst import builder
+from catalyst.support import *
class generic_s390(builder.generic):
"abstract base class for all s390 builders"
-import builder,os
-from catalyst_support import *
+import os
+
+from catalyst import builder
+from catalyst.support import *
class generic_sh(builder.generic):
"Abstract base class for all sh builders [Little-endian]"
-import builder,os
-from catalyst_support import *
+import os
+
+from catalyst import builder
+from catalyst.support import *
class generic_sparc(builder.generic):
"abstract base class for all sparc builders"
-import builder,os
-from catalyst_support import *
+import os
+
+from catalyst import builder
+from catalyst.support import *
class generic_x86(builder.generic):
"abstract base class for all x86 builders"
+
import re
-from modules.catalyst_support import *
+from catalyst.support import *
class ParserBase:
import sys
import string
import time
-from catalyst_support import *
+from catalyst.support import *
def writemsg(mystr):
sys.stderr.write(mystr)
import catalyst.config
import catalyst.util
-from catalyst.modules.catalyst_support import (required_build_targets,
+from catalyst.support import (required_build_targets,
valid_build_targets, CatalystError, hash_map, find_binary, LockInUse)
__maintainer__="Catalyst <catalyst@gentoo.org>"
conf_values["port_logdir"]=myconf["port_logdir"];
def import_modules():
- # import catalyst's own modules (i.e. catalyst_support and the arch modules)
+ # import catalyst's own modules
+ # (i.e. stage and the arch modules)
targetmap={}
try:
parse_config(myconfig)
# Start checking that digests are valid now that the hash_map was imported
- # from catalyst_support
+ # from catalyst.support
if "digests" in conf_values:
for i in conf_values["digests"].split():
if i not in hash_map:
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
import os,string,imp,types,shutil
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
from stat import *
import os,string,imp,types,shutil
-from catalyst_support import *
+from catalyst.support import *
from generic_target import *
from stat import *
-import catalyst_lock
+from catalyst.lock import LockDir
PORT_LOGDIR_CLEAN = \
normpath(self.settings["snapshot_cache"] + "/" +
self.settings["snapshot"])
self.snapcache_lock=\
- catalyst_lock.LockDir(self.settings["snapshot_cache_path"])
+ LockDir(self.settings["snapshot_cache_path"])
print "Caching snapshot to "+self.settings["snapshot_cache_path"]
def set_chroot_path(self):
"""
self.settings["chroot_path"]=normpath(self.settings["storedir"]+\
"/tmp/"+self.settings["target_subpath"])
- self.chroot_lock=catalyst_lock.LockDir(self.settings["chroot_path"])
+ self.chroot_lock=LockDir(self.settings["chroot_path"])
def set_autoresume_path(self):
self.settings["autoresume_path"]=normpath(self.settings["storedir"]+\
-from catalyst_support import *
+from catalyst.support import *
class generic_target:
"""
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
import os,types,glob
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class grp_target(generic_stage_target):
"""
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class livecd_stage1_target(generic_stage_target):
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
import os,string,types,stat,shutil
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class livecd_stage2_target(generic_stage_target):
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
import os,string,types
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class netboot2_target(generic_stage_target):
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
import os,string,types
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class netboot_target(generic_stage_target):
"""
import os
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class snapshot_target(generic_stage_target):
"""
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class stage1_target(generic_stage_target):
"""
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class stage2_target(generic_stage_target):
"""
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class stage3_target(generic_stage_target):
"""
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class stage4_target(generic_stage_target):
"""
# NOTE: That^^ docstring has influence catalyst-spec(5) man page generation.
-from catalyst_support import *
+from catalyst.support import *
from generic_stage_target import *
class tinderbox_target(generic_stage_target):