projects
/
mass-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
02b5afb
)
Pass buildDepends to atuo-debuild
author
Ralf Jung
<post@ralfj.de>
Fri, 27 Jul 2012 13:05:30 +0000
(15:05 +0200)
committer
Ralf Jung
<ralfjung-e@gmx.de>
Fri, 27 Jul 2012 13:05:30 +0000
(15:05 +0200)
build_system.py
patch
|
blob
|
history
diff --git
a/build_system.py
b/build_system.py
index 79a89c30801b7b62a557fbe9ee8177e22b186a6e..a46e6e8adc92e4c7001ae16e71f89039f41d1031 100644
(file)
--- a/
build_system.py
+++ b/
build_system.py
@@
-50,11
+50,16
@@
try:
'name': config['debName'],
'email': config['debEMail'],
}
'name': config['debName'],
'email': config['debEMail'],
}
+ self.copyFromModule(module, 'buildDepends')
if buildSystem == 'cmakeParameters':
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
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
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