[buildout] extends = ../wendelin/software.cfg [local-bt5-repository] list += ${slapos.cookbook-repository:location}/software/wendelin-scalability [patch-template] recipe = slapos.recipe.build location = ${buildout:directory}/${:_buildout_section_name_}.cfg.in script = with open(self.options['location'], 'w') as dst, \ open(self.options['base']) as src: src = src.read() i = src.index('[buildout]') dst.write(src[:i] + self.options['extra'] + '\n' + src[i:])