File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION_eventlet=${VERSION_eventlet:- 0.15.2}
4+ URL_eventlet=https://pypi.python.org/packages/source/e/eventlet/eventlet-$VERSION_eventlet .tar.gz
5+ DEPS_eventlet=(libevent greenlet)
6+ MD5_eventlet=c5b0217cc1da6fcf4bcf6957df57f3cd
7+ BUILD_eventlet=$BUILD_PATH /eventlet/$( get_directory $URL_eventlet )
8+ RECIPE_eventlet=$RECIPES_PATH /eventlet
9+
10+ function prebuild_eventlet() {
11+ # TODO: patch setup.py to use distutils instead of setuptools
12+ true
13+ }
14+
15+ function shouldbuild_eventlet() {
16+ if [ -d " $SITEPACKAGES_PATH /eventlet" ]; then
17+ DO_BUILD=0
18+ fi
19+ }
20+
21+ function build_eventlet() {
22+ cd $BUILD_eventlet
23+
24+ push_arm
25+ export CFLAGS=" $CFLAGS -I$BUILD_libevent /build/include"
26+ export LDFLAGS=" $LDFLAGS -L$LIBS_PATH -L$BUILD_libevent /build/lib/"
27+
28+ try $HOSTPYTHON setup.py install -O2
29+ pop_arm
30+ }
31+
32+ function postbuild_eventlet() {
33+ true
34+ }
You can’t perform that action at this time.
0 commit comments