+ # shim packages
+ for shim in config.get('binaryShims', []):
+ print >>f, ""
+ print >>f, "Package:",shim
+ print >>f, "Section:",config.getstr('section', 'misc')
+ print >>f, "Priority: extra"
+ print >>f, "Architecture:",packageArchitecture
+ writeDependency(f, "Depends", ["${misc:Depends}", binaryName+" (= ${binary:Version})"])
+ print >>f, "Description:",sourceName,"shim for",shim,"(auto-debuild)"
+ print >>f, " Package pretending to be "+shim+", auto-generated by auto-debuild."
+ files.append(os.path.join(debDir, "%s_%s_%s.deb" % (shim, version, arch)))