From: Ralf Jung Date: Wed, 18 Jul 2012 16:26:48 +0000 (+0200) Subject: add support for specifying a Pre-Depends for the binary package X-Git-Url: https://git.ralfj.de/auto-debuild.git/commitdiff_plain/3c40b0a24572eda4137dd92dd5abf5efaf6bb1e1 add support for specifying a Pre-Depends for the binary package --- diff --git a/auto_debuild.py b/auto_debuild.py index 0c466b4..6b7a84b 100755 --- a/auto_debuild.py +++ b/auto_debuild.py @@ -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)"