10 downloadcache-workaround
14 ../../stack/shacache-client.cfg
18 recipe = slapos.recipe.build:download-unpacked
19 url = http://piwik.org/latest.zip
20 md5sum = 04c5dc7f595adce4d68be9f94bbb140c
21 extract-directory = piwik
28 # Default template for the instance.
29 recipe = slapos.recipe.template
30 url = ${:_profile_base_location_}/instance.cfg
31 #md5sum = Student shall put md5 of instance.cfg here
32 output = ${buildout:directory}/template.cfg
36 recipe = zc.recipe.egg
37 eggs = ${instance-recipe:egg}
40 # Use SlapOS patched zc.buildout
41 zc.buildout = 1.5.3-dev-SlapOS-010
46 apache-libcloud = 0.5.2
47 buildout-versions = 1.7
48 hexagonit.recipe.cmmi = 1.5.0
50 plone.recipe.command = 1.1
51 slapos.cookbook = 0.34
52 slapos.recipe.build = 0.7
53 slapos.recipe.download = 1.0.dev-r4053
54 slapos.recipe.template = 2.2
59 # slapos.toolbox==0.10
63 # slapos.cookbook==0.34
67 # hexagonit.recipe.cmmi==1.5.0
68 hexagonit.recipe.download = 1.5.0
71 # slapos.cookbook==0.34
73 # slapos.toolbox==0.10
74 # xml-marshaller==0.9.7
78 # slapos.cookbook==0.34
86 # slapos.toolbox==0.10
90 # slapos.toolbox==0.10
94 # slapos.cookbook==0.34
96 # slapos.toolbox==0.10
97 setuptools = 0.6c12dev-r88846
100 # slapos.cookbook==0.34
101 # slapos.toolbox==0.10
109 # slapos.cookbook==0.34
110 # slapos.toolbox==0.10
111 xml-marshaller = 0.9.7
114 # slapos.cookbook==0.34
115 zc.recipe.egg = 1.3.2
119 zope.interface = 3.8.0
121 [downloadcache-workaround]
122 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
123 # creates download cache, which in turn switches builout to "semi-offline" mode
124 recipe = plone.recipe.command
125 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
126 # to ${buildout:directory}/downloads but this variable is available late, that's
127 # why it is hardcoded only for required case
128 download-cache = ${buildout:directory}/downloads
129 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
130 update-command = ${:command}