From 9c80fba35dbdb845f4b53515a73b52b27d5ee660 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 27 Jul 2012 15:05:30 +0200 Subject: [PATCH 1/1] Pass buildDepends to atuo-debuild --- build_system.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build_system.py b/build_system.py index 79a89c3..a46e6e8 100644 --- a/build_system.py +++ b/build_system.py @@ -50,11 +50,16 @@ try: '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 -- 2.30.2