示例#1
0
    def __init__(self, config, package, store):
        LinuxPackager.__init__(self, config, package, store)

        d = datetime.utcnow()
        self.datetime = d.strftime('%a, %d %b %Y %H:%M:%S +0000')

        license_path = self.package.relative_path(self.LICENSE_TXT)
        if os.path.exists(license_path):
            with open(license_path, 'r') as f:
                self.license = f.read()
        else:
            self.license = ''
示例#2
0
文件: debian.py 项目: pinglin/cerbero
    def __init__(self, config, package, store):
        LinuxPackager.__init__(self, config, package, store)

        d = datetime.utcnow()
        self.datetime = d.strftime('%a, %d %b %Y %H:%M:%S +0000')

        license_path = self.package.relative_path(self.LICENSE_TXT)
        if os.path.exists(license_path):
            with open(license_path, 'r') as f:
                self.license = f.read()
        else:
            self.license = ''
示例#3
0
 def __init__(self, config, package, store):
     LinuxPackager.__init__(self, config, package, store)
示例#4
0
文件: rpm.py 项目: thiblahute/cerbero
 def __init__(self, config, package, store):
     LinuxPackager.__init__(self, config, package, store)
示例#5
0
文件: rpm.py 项目: fluendo/cerbero
 def __init__(self, config, package, store):
     LinuxPackager.__init__(self, config, package, store)
     if config.target_arch == Architecture.X86_64:
       self.lib64_link = True