Commit e4751ef3 authored by Łukasz Nowak's avatar Łukasz Nowak

Download and build websockify from git.

parent 5790e411
...@@ -34,6 +34,7 @@ parts = ...@@ -34,6 +34,7 @@ parts =
template template
kvm kvm
eggs eggs
check-local-eggs
find-links += find-links +=
http://www.nexedi.org/static/packages/source/slapos.buildout/ http://www.nexedi.org/static/packages/source/slapos.buildout/
...@@ -54,6 +55,23 @@ allow-hosts = ...@@ -54,6 +55,23 @@ allow-hosts =
www.dabeaz.com www.dabeaz.com
www.owlfish.com www.owlfish.com
develop =
${:parts-directory}/websockify
[websockify]
recipe = plone.recipe.command
stop-on-error = true
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = ${git:location}/bin/git clone --quiet https://github.com/desaintmartin/websockify.git ${:location}
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
[check-local-eggs]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/websockify.egg-link
depends = ${eggs:dummy}
[gpg-error] [gpg-error]
recipe = hexagonit.recipe.cmmi recipe = hexagonit.recipe.cmmi
url = ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.gz url = ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.gz
...@@ -113,10 +131,11 @@ update-command = ...@@ -113,10 +131,11 @@ update-command =
cd ${:location} && ${git:location}/bin/git pull --quiet origin master cd ${:location} && ${git:location}/bin/git pull --quiet origin master
[eggs] [eggs]
dummy =
${websockify:location}
python = python2.7 python = python2.7
recipe = z3c.recipe.scripts recipe = z3c.recipe.scripts
eggs = eggs =
${lxml-python:egg} ${lxml-python:egg}
slapos.cookbook slapos.cookbook
websockify websockify
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment