software.cfg 2.05 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 29 30 31
git-executable = ${git:location}/bin/git

[vifib]
recipe = slapos.recipe.build:gitclone
32
repository = https://lab.nexedi.com/nexedi/slapos.core.git
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
branch = master
git-executable = ${git:location}/bin/git

[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

57 58 59 60 61 62 63 64 65 66

### 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
67
md5sum = 6b7712c26dfdd105e8a1143d04839651 
68 69 70 71

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

[template-apache-conf]
< = download-base-part
filename = apache.conf.in
77
md5sum = 77c9e3cd1e95279761310cd0eeda78b3 
78 79 80 81

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

84 85 86 87
[versions]
python-memcached = 1.47
facebook-sdk = 0.4.0
google-api-python-client = 1.2
88
erp5diff = 0.8.1.6
89