Unify cloudooo with erp5 and install it direct from git
[slapos.git] / component / cloudooo / buildout.cfg
1 [buildout]
2 extends =
3   ../lxml-python/buildout.cfg
4
5 parts =
6   cloudooo
7
8 develop +=
9   ${:parts-directory}/cloudooo-repository
10
11 [cloudooo-check-recipe]
12 recipe = plone.recipe.command
13 stop-on-error = true
14 update-command = ${:command}
15 command = grep parts ${buildout:develop-eggs-directory}/cloudooo.egg-link
16
17 [cloudooo-repository]
18 recipe = plone.recipe.command
19 location = ${buildout:parts-directory}/${:_buildout_section_name_}
20 stop-on-error = true
21 repository = http://git.erp5.org/repos/cloudooo.git
22 branch = master
23 revision =
24 command = ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location} && if [ -n ${:revision} ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi
25 update-command = cd ${:location} && ${git:location}/bin/git pull --quiet && if [ -n ${:revision} ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi
26
27 [cloudooo]
28 recipe = zc.recipe.egg
29 python = python2.6
30 extra-paths = ${cloudooo-repository:location}
31 eggs =
32   ${lxml-python:egg}
33   PasteScript
34   python-magic
35   psutil
36   WSGIUtils
37   cloudooo
38 entry-points =
39   main=cloudooo.paster_application:application
40   cloudooo_tester=cloudooo.bin.cloudooo_tester:main
41   runCloudoooUnitTest=cloudooo.tests.runHandlerUnitTest:run
42   runCloudoooTestSuite=cloudooo.tests.runTestSuite:run
43 scripts = 
44   paster=cloudooo_paster
45   runCloudoooUnitTest
46   runCloudoooTestSuite
47 ugly-depend-on = ${cloudooo-repository:command} ${cloudooo-repository:update-command} ${cloudooo-check-recipe:command}