software.cfg 5.04 KB
[buildout]

#develop =
#  ${:parts-directory}/slapos.cookbook-repository
#  ${trac-plugins-egg:location}/accountmanager

parts = 
  apache-wsgi
  slapos-cookbook
  gitweb  
  subversion-1.9
  instance-egg
  instance  
  instance-trac  
  instance-mariadb
  template-httpd-conf
  tracWsgi
  tracIni
  trac-svn-hook
  trac-git-hook
  post-revprop-change
  template-gitweb-cgi
  template-gitweb-conf
  template-git-http-backend-cgi
#  trac-plugins-egg
#  check-egg
#  slapos.cookbook-repository
#  check-recipe

extends =
  ../../stack/slapos.cfg
  ../../component/apache/buildout.cfg  
  ../../component/python-2.7/buildout.cfg
  ../../component/apache-wsgi/buildout.cfg  
  ../../component/logrotate/buildout.cfg
  ../../component/subversion/buildout.cfg
  ../../component/gzip/buildout.cfg
  ../../component/dcron/buildout.cfg
  ../../component/dash/buildout.cfg
  ../../component/stunnel/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/mysql-python/buildout.cfg
  ../../component/git/buildout.cfg
  ../../component/shellinabox/buildout.cfg
  ../../component/perl/buildout.cfg

allow-hosts +=
  *.edgewall.org
  *.edgewall.com
  
[instance-egg]
recipe = z3c.recipe.scripts
eggs =
  ${mysql-python:egg}
  slapos.toolbox
  collective.recipe.cmd
  Genshi
  docutils
  Pygments
  pytz
  Trac

[trac-plugins-egg]
recipe = plone.recipe.command
svn = ${subversion-1.9:location}/bin/svn
location = ${buildout:parts-directory}/${:_buildout_section_name_}
#command = ${:svn} co http://trac-hacks.org/svn/simplemultiprojectplugin/trunk/ ${:multipleproject}
command = ${:svn} co http://trac-hacks.org/svn/accountmanagerplugin/0.11 ${:location}/accountmanager

[check-egg]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/accountmanager.egg-link

[instance]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
md5sum = bc6ed91a1862a10af661713aa0691848

[instance-trac]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-trac.cfg
output = ${buildout:directory}/template-trac.cfg
md5sum = 2dc7ebfa9b7d5117274b74bafed4cfd4
mode = 0644

[instance-mariadb]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-mariadb.cfg
output = ${buildout:directory}/template-mariadb.cfg
md5sum = 4ea69039e41ff45bffe8f2620bdf187c
mode = 0644

[template-download]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/${:filename}
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

[tracIni]
<= template-download
filename = trac.ini.in
md5sum = 10286b368b9b6eacae2cdd6caf362759

[tracWsgi]
<= template-download
filename = trac.wsgi.in
md5sum = 5226978477d3336f21f0d8684d23a55a

[trac-svn-hook]
<= template-download
filename = trac-svn-hook.in
md5sum = 81a0e2627af1db4c1d601aabc0ebee0a

[trac-git-hook]
<= template-download
filename = trac-git-hook.in
md5sum = 8704e9717bf1223157b3d25de5a8d9d6

[post-revprop-change]
<= template-download
filename = post-revprop-change.in
md5sum = 917deaeda572ca3e98c2baaf15fcdacc

[create-svn-repo]
<= template-download
filename = create-svn-repo.sh.in
md5sum = 3e4d25ce53dcc3729f4bc682e0d2d239

[template-httpd-conf]
<= template-download
filename = apache.in
md5sum = 4f6d1b748c149f32a39c89931e0cd94a

[template-gitweb-cgi]
<= template-download
filename = gitweb.cgi.in
md5sum = 957a7741c7ab60c4bee6c640e0bdd2fb

[template-gitweb-conf]
<= template-download
filename = gitweb.conf.in
md5sum = ace5a69f59c0be7ea7454183a5550537

[template-git-http-backend-cgi]
<= template-download
filename = git-http-backend.cgi.in
md5sum = d6101df47ddd3b04e34e1f0284686b55

# Local development
[slapos.cookbook-repository]
recipe = plone.recipe.command
stop-on-error = true
branch = trac
revision =
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet https://lab.nexedi.com/nexedi/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi

[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link

[versions]
Genshi = 0.7
MySQL-python = 1.2.4
Pygments = 1.6
Trac = 1.0.1
apache-libcloud = 0.12.4
async = 0.6.1
collective.recipe.cmd = 0.6
docutils = 0.10
gitdb = 0.5.4
plone.recipe.command = 1.1
pycrypto = 2.6
slapos.recipe.template = 2.4.2
slapos.toolbox = 0.34.0
smmap = 0.8.2
z3c.recipe.scripts = 1.0.1

# Required by:
# slapos.toolbox==0.34.0
GitPython = 0.3.2.RC1

# Required by:
# slapos.toolbox==0.34.0
atomize = 0.1.1

# Required by:
# slapos.toolbox==0.34.0
feedparser = 5.1.3

# Required by:
# slapos.toolbox==0.34.0
paramiko = 1.10.1