[buildout]

extends = 
  ../../stack/slapos.cfg
  ../../component/libffi/buildout.cfg
  ../../component/pkgconfig/buildout.cfg
  ../../component/python-cffi/buildout.cfg
  ../../component/java/buildout.cfg


parts =
  slapos-cookbook
  libffi
  python-cffi
  eggs
  java
  hadoop
  hadoop-streaming
  instance-stack


[eggs]
recipe = zc.recipe.egg
eggs = 
  slapos.cookbook
  collective.recipe.template
  cp.recipe.cmd
  plone.recipe.command


[hadoop]
recipe = hexagonit.recipe.download
ignore-existing = true
version = 2.5.1
filename = hadoop-${:version}.tar.gz
url = http://apache.mirrors.spacedump.net/hadoop/common/hadoop-${:version}/${:filename}
md5sum = 015b12d790701deb4de9a647013f72a9
download-only = true
mode = 0644
strip-top-level-dir = true


[hadoop-streaming]
recipe = hexagonit.recipe.download
ignore-existing = true
url = http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-streaming/0.20.203.0/hadoop-streaming-0.20.203.0.jar
download-only = true
md5sum = 792c7df75b63e477fef12988b7cced6f
mode = 0644


[instance-stack]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-stack.cfg.in
output = ${buildout:directory}/instance-stack.cfg
md5sum =  3c846dd1269aeef43cd2d5448463563b
mode = 0644


