remove downloadcache-workackaround and use relative path off stack
[slapos.git] / software / zencart / software.cfg
1 [buildout]
2 versions = versions
3
4 parts =
5   template
6   apache-php
7   mariadb
8   eggs
9   instance-recipe-egg
10   downloadcache-workaround
11   configure-script
12
13 extends =
14   ../../stack/lamp.cfg
15   ../../stack/shacache-client.cfg
16
17 [application]
18 recipe = slapos.recipe.build:download-unpacked
19 url = http://heanet.dl.sourceforge.net/project/zencart/CURRENT_%20Zen%20Cart%201.3.x%20Series/Zen%20Cart%20v1.3.9%20-%20Full%20Release/zen-cart-v1.3.9h-full-fileset-10262010.zip
20 md5sum = e0a5fb39078321ced7f5a9c193f30927
21 #If provided tarball does not contain top directory, option shall be changed to false
22 strip-top-level-dir = true
23
24 [configure-script]
25 recipe = slapos.recipe.download
26 location = ${buildout:parts-directory}/${:_buildout_section_name_}
27 url = ${:_profile_base_location_}/configure.py
28 filename = configure.py
29 mode = 0744
30   
31 [instance-recipe]
32 egg = slapos.cookbook
33 module = lamp.simple
34
35 [template]
36 # Default template for the instance.
37 recipe = slapos.recipe.template
38 url = ${:_profile_base_location_}/instance.cfg
39 #md5sum = Student shall put md5 of instance.cfg here
40 output = ${buildout:directory}/template.cfg
41 mode = 0644
42
43 [instance-recipe-egg]
44 recipe = zc.recipe.egg
45 eggs =
46     ${mysql-python:egg}
47     ${instance-recipe:egg}
48     slapos.toolbox[lampconfigure]
49
50 [versions]
51 # Use SlapOS patched zc.buildout
52 zc.buildout = 1.5.3-dev-SlapOS-010
53
54 Jinja2 = 2.6
55 MySQL-python = 1.2.3
56 Werkzeug = 0.8.1
57 apache-libcloud = 0.5.2
58 buildout-versions = 1.7
59 hexagonit.recipe.cmmi = 1.5.0
60 meld3 = 0.6.7
61 plone.recipe.command = 1.1
62 slapos.cookbook = 0.34
63 slapos.recipe.build = 0.7
64 slapos.recipe.download = 1.0.dev-r4053
65 slapos.recipe.template = 2.2
66 slapos.toolbox = 0.10
67
68 # Required by:
69 # slapos.core==0.18
70 # slapos.toolbox==0.10
71 Flask = 0.8
72
73 # Required by:
74 # slapos.cookbook==0.34
75 PyXML = 0.8.4
76
77 # Required by:
78 # hexagonit.recipe.cmmi==1.5.0
79 hexagonit.recipe.download = 1.5.0
80
81 # Required by:
82 # slapos.cookbook==0.34
83 # slapos.core==0.18
84 # slapos.toolbox==0.10
85 # xml-marshaller==0.9.7
86 lxml = 2.3.1
87
88 # Required by:
89 # slapos.cookbook==0.34
90 netaddr = 0.7.6
91
92 # Required by:
93 # slapos.core==0.18
94 netifaces = 0.6
95
96 # Required by:
97 # slapos.toolbox==0.10
98 paramiko = 1.7.7.1
99
100 # Required by:
101 # slapos.toolbox==0.10
102 psutil = 0.3.0
103
104 # Required by:
105 # slapos.cookbook==0.34
106 # slapos.core==0.18
107 # slapos.toolbox==0.10
108 setuptools = 0.6c12dev-r88846
109
110 # Required by:
111 # slapos.cookbook==0.34
112 # slapos.toolbox==0.10
113 slapos.core = 0.18
114
115 # Required by:
116 # slapos.core==0.18
117 supervisor = 3.0a10
118
119 # Required by:
120 # slapos.cookbook==0.34
121 # slapos.toolbox==0.10
122 xml-marshaller = 0.9.7
123
124 # Required by:
125 # slapos.cookbook==0.34
126 zc.recipe.egg = 1.3.2
127
128 # Required by:
129 # slapos.core==0.18
130 zope.interface = 3.8.0
131
132 [downloadcache-workaround]
133 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
134 # creates download cache, which in turn switches builout to "semi-offline" mode
135 recipe = plone.recipe.command
136 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
137 # to ${buildout:directory}/downloads but this variable is available late, that's
138 # why it is hardcoded only for required case
139 download-cache = ${buildout:directory}/downloads
140 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
141 update-command = ${:command}
142 stop-on-error = True
143