'name': config['debName'],
'email': config['debEMail'],
}
+ self.copyFromModule(module, 'buildDepends')
if buildSystem == 'cmakeParameters':
- self.autoDebuildConfig['cmakeParameters'] = module.get('cmakeParameters', [])
+ self.copyFromModule(module, 'cmakeParameters')
self.vcs = vcs
self.configured = False # make sure configure is called before build/install
+ def copyFromModule(self, module, name):
+ if name in module:
+ self.autoDebuildConfig[name] = module[name]
+
def configure(self, force=False): # force is ignored
self.autoDebuildConfig['version'] = self.vcs.version() # by now, data has been fetched, so this is possible
self.vcs.ignore('/debian/') # make sure the debian folder is ignored