comparison test/mocksudopbuilder.py @ 171:c0ea6cbb0fd2

Add "--debbuildopts -b" to "pbuilder build" command line to stop pbuilder from creating a source package. The .changes would otherwise contain references to that new source package instead of the one we passed to pbuilder. The checksums for the two source packages would be different so the .changes file would not match the source package that treepkg produces.
author Bernhard Herzog <bh@intevation.de>
date Mon, 23 Jun 2008 16:12:01 +0000
parents 98a7d70746a9
children
comparison
equal deleted inserted replaced
170:bfcb2bbf9a52 171:c0ea6cbb0fd2
1 #! /usr/bin/env python 1 #! /usr/bin/env python
2 # Copyright (C) 2007 by Intevation GmbH 2 # Copyright (C) 2007, 2008 by Intevation GmbH
3 # Authors: 3 # Authors:
4 # Bernhard Herzog <bh@intevation.de> 4 # Bernhard Herzog <bh@intevation.de>
5 # 5 #
6 # This program is free software under the GPL (>=v2) 6 # This program is free software under the GPL (>=v2)
7 # Read the file COPYING coming with the software for details. 7 # Read the file COPYING coming with the software for details.
42 42
43 parser = OptionParser() 43 parser = OptionParser()
44 parser.add_option("--configfile") 44 parser.add_option("--configfile")
45 parser.add_option("--logfile") 45 parser.add_option("--logfile")
46 parser.add_option("--buildresult") 46 parser.add_option("--buildresult")
47 parser.add_option("--debbuildopts")
47 48
48 opts, rest = parser.parse_args(args) 49 opts, rest = parser.parse_args(args)
49 return opts, rest 50 return opts, rest
50 51
51 52
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)