add support for specifying a Pre-Depends for the binary package
authorRalf Jung <post@ralfj.de>
Wed, 18 Jul 2012 16:26:48 +0000 (18:26 +0200)
committerRalf Jung <post@ralfj.de>
Wed, 18 Jul 2012 16:26:48 +0000 (18:26 +0200)
auto_debuild.py

index 0c466b41a7e272946e6057015be3b3d1b5696ccb..6b7a84b7fc19450dde59b32a35027aa3cc344f17 100755 (executable)
@@ -104,6 +104,8 @@ def createDebianFiles(config):
                print >>f, ""
                print >>f, "Package:",binaryName
                print >>f, "Architecture:",packageArchitecture
+               if 'binaryPreDepends' in config:
+                       print >>f, "Pre-Depends:",writeDebList(config['binaryPreDepends'])
                print >>f, "Depends:",writeDebList(["${shlibs:Depends}", "${misc:Depends}"] + config.get('binaryDepends', []))
                print >>f, "Provides:",writeDebList(config.get('binaryProvides', [sourceName]))
                print >>f, "Description:",sourceName,"(auto-debuild)"