Add update versions and application parts of software.cfg
[slapos.git] / software / piwigo / 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   
12 extends =
13   ../../stack/lamp.cfg
14   ../../stack/shacache-client.cfg
15
16 [application]
17 recipe = slapos.recipe.build:download-unpacked
18 url = http://piwigo.org/download/dlcounter.php?code=latest
19 md5sum = 13870130dcdda90bf2d2e3c20a49b04f
20
21 [application-template]
22 recipe = slapos.recipe.download
23 url = ${:_profile_base_location_}/template/piwigo.inc.php.in
24 md5sum = 8ca6d1408b468c6836cd0edaf02688e5
25 download-only = True
26 filename = template.in
27 mode = 0644
28 location = ${buildout:parts-directory}/${:_buildout_section_name_}
29
30 [application-configuration]
31 location = database.inc.php
32   
33 [instance-recipe]
34 egg = slapos.cookbook
35 module = lamp.simple
36
37 [template]
38 # Default template for the instance.
39 recipe = slapos.recipe.template
40 url = ${:_profile_base_location_}/instance.cfg
41 #md5sum = Student shall put md5 of instance.cfg here
42 output = ${buildout:directory}/template.cfg
43 mode = 0644
44
45 [instance-recipe-egg]
46 recipe = zc.recipe.egg
47 python = python2.7
48 eggs = ${instance-recipe:egg}
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.5
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