-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildout.cfg
90 lines (73 loc) · 2.02 KB
/
buildout.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Tunr buildout based on Planet Venus ♀
[buildout]
admin-email = [email protected]
eggs-directory = eggs
versions = versions
htdocs-directory = ${buildout:directory}/public
extensions =
buildout.bootstrap
buildout-versions
parts =
venus
theme
venus-config
update
feeds
python
tunr-cronjob
[venus]
recipe = hexagonit.recipe.download
strip-top-level-dir = true
url = http://intertwingly.net/code/venus.tgz
[theme]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/theme.cfg.in
output = ${buildout:directory}/theme/config.ini
[venus-config]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/venus.cfg.in
output = ${buildout:directory}/etc/venus.cfg.top
[python]
recipe = z3c.recipe.scripts
interpreter = python
eggs =
genshi
lxml
[feeds]
recipe = collective.recipe.cmd
on_install = true
on_update = true
uninstall_cmds = rm -f ${buildout:directory}/etc/venus.cfg
cmds =
rm -f ${buildout:directory}/var/venus.cfg
cat ${buildout:directory}/etc/venus.cfg.top ${buildout:directory}/feeds.cfg > ${buildout:directory}/etc/venus.cfg
# Update
# ------
#
# Generate a script that updates the feeds.
[update]
recipe = collective.recipe.template
dollar = $
input = ${buildout:directory}/templates/update.sh.in
mode = 755
output = ${buildout:bin-directory}/update.sh
[tunr-cronjob]
recipe = z3c.recipe.usercrontab
times = 10 * * * *
command = ${buildout:bin-directory}/update.sh >/dev/null 2>&1
# Versions
# --------
#
# Pin down versions we know work to prevent getting bit on the bum in the
# future by futuristic bum biters.
[versions]
buildout-versions = 1.6
collective.recipe.cmd = 0.5
collective.recipe.template = 1.9
distribute = 0.6.19
Genshi = 0.6
hexagonit.recipe.download = 1.5.0
lxml = 2.3
z3c.recipe.scripts = 1.0.1
zc.buildout = 1.5.2
zc.recipe.egg = 1.3.2