Add update versions and application parts of software.cfg
[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 = hexagonit.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 python = python2.7
46 eggs =
47     ${mysql-python:egg}
48     ${instance-recipe:egg}
49     slapos.toolbox[lampconfigure]
50
51 [versions]
52 # Use SlapOS patched zc.buildout
53 zc.buildout = 1.5.3-dev-SlapOS-010
54
55 Jinja2 = 2.6
56 MySQL-python = 1.2.3
57 Werkzeug = 0.8.1
58 apache-libcloud = 0.5.2
59 buildout-versions = 1.7
60 hexagonit.recipe.cmmi = 1.5.0
61 meld3 = 0.6.7
62 plone.recipe.command = 1.1
63 slapos.cookbook = 0.34
64 slapos.recipe.build = 0.7
65 slapos.recipe.download = 1.0.dev-r4053
66 slapos.recipe.template = 2.2
67 slapos.toolbox = 0.10
68
69 # Required by:
70 # slapos.core==0.18
71 # slapos.toolbox==0.10
72 Flask = 0.8
73
74 # Required by:
75 # slapos.cookbook==0.34
76 PyXML = 0.8.4
77
78 # Required by:
79 # hexagonit.recipe.cmmi==1.5.0
80 hexagonit.recipe.download = 1.5.0
81
82 # Required by:
83 # slapos.cookbook==0.34
84 # slapos.core==0.18
85 # slapos.toolbox==0.10
86 # xml-marshaller==0.9.7
87 lxml = 2.3.1
88
89 # Required by:
90 # slapos.cookbook==0.34
91 netaddr = 0.7.6
92
93 # Required by:
94 # slapos.core==0.18
95 netifaces = 0.5
96
97 # Required by:
98 # slapos.toolbox==0.10
99 paramiko = 1.7.7.1
100
101 # Required by:
102 # slapos.toolbox==0.10
103 psutil = 0.3.0
104
105 # Required by:
106 # slapos.cookbook==0.34
107 # slapos.core==0.18
108 # slapos.toolbox==0.10
109 setuptools = 0.6c12dev-r88846
110
111 # Required by:
112 # slapos.cookbook==0.34
113 # slapos.toolbox==0.10
114 slapos.core = 0.18
115
116 # Required by:
117 # slapos.core==0.18
118 supervisor = 3.0a10
119
120 # Required by:
121 # slapos.cookbook==0.34
122 # slapos.toolbox==0.10
123 xml-marshaller = 0.9.7
124
125 # Required by:
126 # slapos.cookbook==0.34
127 zc.recipe.egg = 1.3.2
128
129 # Required by:
130 # slapos.core==0.18
131 zope.interface = 3.8.0
132
133 [downloadcache-workaround]
134 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
135 # creates download cache, which in turn switches builout to "semi-offline" mode
136 recipe = plone.recipe.command
137 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
138 # to ${buildout:directory}/downloads but this variable is available late, that's
139 # why it is hardcoded only for required case
140 download-cache = ${buildout:directory}/downloads
141 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
142 update-command = ${:command}
143 stop-on-error = True
144