def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self.package = package self.prefix = config.prefix self.package_prefix = '' if self.config.packages_prefix is not None: self.package_prefix = '%s-' % self.config.packages_prefix
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self.package_prefix = '' self.package_prefix = self._package_prefix(self.package) self.full_package_name = self._full_package_name() self.packager = self.config.packager self._check_packager()
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self._with_wine = config.platform != Platform.WINDOWS self.wix_prefix = get_wix_prefix() # Init wix wine prefix in the case of using it. self.wix_wine_prefix = None self.tmpdir = None
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self.package_prefix = '' self.package_prefix = self._package_prefix(self.package) self.full_package_name = self._full_package_name() self.packager = self.config.packager self._check_packager()
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self.package = package self.prefix = config.prefix self.package_prefix = "" if self.config.packages_prefix is not None: self.package_prefix = "%s-" % self.config.packages_prefix
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self.bundle_name = "%s-%s-%s" % ( self.package.name, self.package.version, self.config.arch) if not hasattr(self.package, "desktop_file"): raise FatalError( "Can not create a linux bundle if the package does " "not have a 'desktop_file' property set")
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self.package = package self.prefix = config.prefix self.package_prefix = '' if self.config.packages_prefix is not None: self.package_prefix = '%s-' % self.config.packages_prefix self.compress = config.package_tarball_compression if self.compress not in ('bz2', 'xz'): raise UsageError('Invalid compression type {!r}'.format( self.compress))
def __init__(self, package, name, desc, uuid): self.package = Package(package.config, package.store, None) self.package.name = name self.package.shortdesc = desc self.package.version = package.version self.package.sdk_version = package.sdk_version self.package.uuid = uuid self.package.deps = [] self.package.org = package.org self.package.install_dir = package.install_dir self.package.osx_framework_library = package.osx_framework_library PackagerBase.__init__(self, package.config, self.package, package.store)
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self._with_wine = config.platform != Platform.WINDOWS self.wix_prefix = get_wix_prefix() # We use this trick to workaround the wix path limitation. # wix_wine_prefix is a symbolic link to the regular cerbero prefix # and should not be a folder. if self._with_wine: self.wix_wine_prefix = self.get_wix_wine_prefix() os.symlink(config.prefix, self.wix_wine_prefix) else: self.wix_wine_prefix = None
def __init__(self, package, name, desc, uuid): self.package = Package(package.config, package.store, None) self.package.name = name self.package.shortdesc = desc self.package.version = package.version self.package.sdk_version = package.sdk_version self.package.uuid = uuid self.package.deps = [] self.package.org = package.org self.package.install_dir = package.install_dir self.package.osx_framework_library = package.osx_framework_library PackagerBase.__init__(self, package.config, self.package, package.store)
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self._with_wine = config.platform != Platform.WINDOWS self.wix_prefix = get_wix_prefix() # We use this trick to workaround the wix path limitation. # wix_wine_prefix is a symbolic link to the regular cerbero prefix # and should not be a folder. if self._with_wine: self.wix_wine_prefix = self.get_wix_wine_prefix() os.symlink(config.prefix, self.wix_wine_prefix) else: self.wix_wine_prefix = None self.packager_tmpdirs = []
def __init__(self, package, pkgname, desc, uuid): self.package = Package(package.config, package.store, None) self.package.name = pkgname self.package.shortdesc = desc self.package.version = package.version self.package.sdk_version = package.sdk_version self.package.uuid = uuid self.package.deps = [] self.package.org = package.org self.package.install_dir = package.install_dir self.package.osx_framework_library = package.osx_framework_library self.package.resources_preinstall = package.resources_preinstall self.package.resources_postinstall = package.resources_postinstall self.package.__file__ = package.__file__ PackagerBase.__init__(self, package.config, self.package, package.store)
def __init__(self, config, package, store, archive_type): PackagerBase.__init__(self, config, package, store) self.package = package self.prefix = config.prefix self.package_prefix = '' if self.config.packages_prefix is not None: self.package_prefix = '%s-' % self.config.packages_prefix if archive_type == ArchiveType.TARBALL: self.ext = 'tar.bz2' self.archive_func = self._create_tarball elif archive_type == ArchiveType.ZIP: self.ext = 'zip' self.archive_func = self._create_zip else: raise UsageError("Unsupported archive_type %s" % archive_type)
def __init__(self, package, pkgname, desc, uuid): self.package = Package(package.config, package.store, None) self.package.name = pkgname self.package.shortdesc = desc self.package.version = package.version self.package.sdk_version = package.sdk_version self.package.uuid = uuid self.package.deps = [] self.package.org = package.org self.package.install_dir = package.install_dir self.package.osx_framework_library = package.osx_framework_library self.package.resources_preinstall = package.resources_preinstall self.package.resources_postinstall = package.resources_postinstall self.package.__file__ = package.__file__ PackagerBase.__init__(self, package.config, self.package, package.store)
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self._with_wine = config.platform != Platform.WINDOWS self.wix_prefix = get_wix_prefix()
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store)
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self.packages = self.store.get_package_deps(package) self.packages_paths = {} self.empty_packages = {}
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self.bundle_name = "%s-%s-%s" %(self.package.name, self.package.version, self.config.arch) if not hasattr(self.package, "desktop_file"): raise FatalError("Can not create a linux bundle if the package does " "not have a 'desktop_file' property set")
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self._with_wine = config.platform != Platform.WINDOWS self.wix_prefix = get_wix_prefix()
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store)
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self.packages = self.store.get_package_deps(package) self.packages_paths = {} self.empty_packages = {}
def __init__(self, config, package, store): PackagerBase.__init__(self, config, package, store) self._with_wine = config.platform != Platform.WINDOWS self.wix_prefix = get_wix_prefix() # Init wix wine prefix in the case of using it. self.wix_wine_prefix = None