diff --git a/component/cython_nogil/buildout.cfg b/component/cython_nogil/buildout.cfg index 1c1294c70dffc79284b36463e68caa3fc73c1af1..50c8333335a335177d5b7f0fae254003d557bdac 100644 --- a/component/cython_nogil/buildout.cfg +++ b/component/cython_nogil/buildout.cfg @@ -7,12 +7,18 @@ extends = parts = cython_nogil +[cython] +recipe = slapos.recipe.build:gitclone +git-executable = ${git:location}/bin/git +repository = https://lab.nexedi.com/Daetalus/cython.git +revision = 21ffc32af0ae23a6bae2814934d16ef6853bf931 +location = ${buildout:parts-directory}/${:_buildout_section_name_} +branch = nogil_extension + [cython_nogil] recipe = plone.recipe.command stop-on-error = true update-command = true -repository = https://lab.nexedi.com/Daetalus/cython.git -location = ${buildout:parts-directory}/${:_buildout_section_name_} -git-binary = ${git:location}/bin/git +location = ${cython:location} python3-binary = ${python3.5:location}/bin/python3 -command = (([ -d ${:location} ] && (rm -rf ${:location}) || :) && ${:git-binary} clone --quiet ${:repository} ${:location} && cd ${:location} && ${:git-binary} checkout nogil_extension && ${:python3-binary} setup.py install && ${:python3-binary} test.py build_ext --inplace) \ No newline at end of file +command = (cd ${cython:location} && ${:python3-binary} setup.py install && ${:python3-binary} test.py build_ext --inplace) \ No newline at end of file