コード例 #1
0
ファイル: debian.py プロジェクト: thiblahute/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 = ''
コード例 #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
ファイル: rpm.py プロジェクト: centricular/cerbero
 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