예제 #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
파일: 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