software.cfg 2.17 KB
Newer Older
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
[buildout]
extends =
  ../../stack/erp5/buildout.cfg

parts +=
  vifib-fix-products-paths

[local-bt5-repository]
# Same as bt5-repository, but only local repository.
# Used to generate bt5lists.
list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap ${vifib:location}/master/bt5

[genbt5list]
recipe = plone.recipe.command
stop-on-error = true
genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
command =
  ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
update-command = ${:command}

[erp5_repository_list]
repository_id_list = erp5 vifib/master

[erp5]
recipe = slapos.recipe.build:gitclone
26
repository = https://lab.nexedi.com/nexedi/erp5.git
27
branch = erp5-vifib
28
git-executable = ${git:location}/bin/git
29
revision = b22077622b356aade6981957ddc6ff271c228bbb 
30 31 32 33 34

[vifib]
recipe = slapos.recipe.build:gitclone
branch = master
git-executable = ${git:location}/bin/git
35
revision = b3b9da6158f0dd3956e72a804c57f18b6f966fc1 
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57

[vifib-fix-products-paths]
recipe = plone.recipe.command
stop-on-error = true
command =
  for DIR in "${vifib:location}/master"; do cd "$DIR"; rm -f Products ; ln -s product Products; touch product/__init__.py; done
update-command = ${:command}

[eggs]
eggs +=
  suds
  facebook-sdk
  google-api-python-client
  spyne
  slapos.core
  
dummy +=
  ${vifib:location}
  
extra-paths +=
  ${vifib:location}/master

58 59 60 61 62 63 64 65 66 67

### Overwrite recipes to introduce customized changes
[download-base-part]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}
mode = 644

[template-erp5]
< = download-base-part
filename = instance-erp5.cfg.in
68
md5sum = 6b7712c26dfdd105e8a1143d04839651 
69 70 71 72

[template-balancer]
< = download-base-part
filename = instance-balancer.cfg.in
73
md5sum = 02c258e51ff4619efe258bbf24b9ceed 
74 75 76 77

[template-apache-conf]
< = download-base-part
filename = apache.conf.in
78
md5sum = 6a9426138d46ba5de75a86199be4f8d1
79 80 81 82

[template-create-erp5-site-real]
< = download-base-part
filename = instance-create-erp5-site-real.cfg.in
83
md5sum = 86a2b244341218cd0c4b6d398c61ee20
84

85
[neoppod-repository]
86
revision = 4dfdf05a89445a9286dbdf364d495bedf10f9394 
87

88 89 90 91
[versions]
python-memcached = 1.47
facebook-sdk = 0.4.0
google-api-python-client = 1.2
92
erp5diff = 0.8.1.6
93