def __init__(self, name, role, co, pkg_name, pkg_file, instr_name=None, postInstallMakefile=None): """ * co - is the checkout name in which the package resides. * pkg_name - is the name of the package (dpkg needs it) * pkg_file - is the name of the file the package is in, relative to the checkout directory. * instr_name - is the name of the instruction file, if any. * postInstallMakefile - if not None:: make -f postInstallMakefile <pkg-name> will be run at post-install time to make links, etc. """ PackageBuilder.__init__(self, name, role) self.co_name = co self.pkg_name = pkg_name self.pkg_file = pkg_file self.instr_name = instr_name self.post_install_makefile = postInstallMakefile
def __init__(self, name, role, custom_depmod = None): """ Constructor for the depmod package self.components is a list of (label, subdir) pairs which we combine in our object directory to form a unified module database on which we can run depmod. """ PackageBuilder.__init__(self, name, role) self.components = [ ] self.custom_depmod = custom_depmod
def __init__(self, name, role, custom_depmod=None): """ Constructor for the depmod package self.components is a list of (label, subdir) pairs which we combine in our object directory to form a unified module database on which we can run depmod. """ PackageBuilder.__init__(self, name, role) self.components = [] self.custom_depmod = custom_depmod
def __init__(self, name, role, co, pkg_name, pkg_file, instr_name = None, postInstallMakefile = None, nonDevCoName = None, nonDevPkgFile = None): """ As for a DebAction, really. """ PackageBuilder.__init__(self, name, role) self.co_name = co self.pkg_name = pkg_name self.pkg_file = pkg_file self.nonDevPkgFile = nonDevPkgFile self.nonDevCoName = nonDevCoName self.instr_name = instr_name self.post_install_makefile = postInstallMakefile
def __init__(self, name, role, co, config = True, perRoleMakefiles = False, makefileName = DEFAULT_MAKEFILE_NAME, rewriteAutoconf = False, usesAutoconf = False, execRelPath = None): """ Constructor for the make package. """ PackageBuilder.__init__(self, name, role) self.co = co self.has_make_config = config self.per_role_makefiles = perRoleMakefiles self.makefile_name = makefileName self.rewriteAutoconf = rewriteAutoconf self.usesAutoconf = usesAutoconf self.execRelPath = execRelPath
def __init__(self, name, role, filename, swname = None, version = None, build = None, withDate = True, withUser = True, withMachine= True): """ Constructor for the version package type """ PackageBuilder.__init__(self, name, role) self.filename = filename self.swname = swname self.version = version self.build = build self.withDate = withDate self.withUser = withUser self.withMachine = withMachine
def __init__(self, name, role, filename, swname=None, version=None, build=None, withDate=True, withUser=True, withMachine=True): """ Constructor for the version package type """ PackageBuilder.__init__(self, name, role) self.filename = filename self.swname = swname self.version = version self.build = build self.withDate = withDate self.withUser = withUser self.withMachine = withMachine
def __init__(self, name, role, co, pkg_name, pkg_file, instr_name=None, postInstallMakefile=None, nonDevCoName=None, nonDevPkgFile=None): """ As for a DebAction, really. """ PackageBuilder.__init__(self, name, role) self.co_name = co self.pkg_name = pkg_name self.pkg_file = pkg_file self.nonDevPkgFile = nonDevPkgFile self.nonDevCoName = nonDevCoName self.instr_name = instr_name self.post_install_makefile = postInstallMakefile
def __init__(self, name, role, co, pkg_name, pkg_file, instr_name = None, postInstallMakefile = None): """ * co - is the checkout name in which the package resides. * pkg_name - is the name of the package (dpkg needs it) * pkg_file - is the name of the file the package is in, relative to the checkout directory. * instr_name - is the name of the instruction file, if any. * postInstallMakefile - if not None:: make -f postInstallMakefile <pkg-name> will be run at post-install time to make links, etc. """ PackageBuilder.__init__(self, name, role) self.co_name = co self.pkg_name = pkg_name self.pkg_file = pkg_file self.instr_name = instr_name self.post_install_makefile = postInstallMakefile
def __init__(self, name, role, co, config=True, perRoleMakefiles=False, makefileName=DEFAULT_MAKEFILE_NAME, rewriteAutoconf=False, usesAutoconf=False, execRelPath=None): """ Constructor for the make package. """ PackageBuilder.__init__(self, name, role) self.co = co self.has_make_config = config self.per_role_makefiles = perRoleMakefiles self.makefile_name = makefileName self.rewriteAutoconf = rewriteAutoconf self.usesAutoconf = usesAutoconf self.execRelPath = execRelPath