Skip to content

Commit bd62322

Browse files
committed
added greenlet, gevent dependency
1 parent aca02d0 commit bd62322

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

recipes/greenlet/recipe.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash
2+
3+
VERSION_greenlet=0.4.1
4+
URL_greenlet=https://pypi.python.org/packages/source/g/greenlet/greenlet-$VERSION_greenlet.zip
5+
https://github.com/downloads/greenlet/greenlet/greenlet-$VERSION_greenlet.tar.gz
6+
DEPS_greenlet=(python)
7+
MD5_greenlet=c2deda75bdda59c38cae12a77cc53adc
8+
BUILD_greenlet=$BUILD_PATH/greenlet/$(get_directory $URL_greenlet)
9+
RECIPE_greenlet=$RECIPES_PATH/greenlet
10+
11+
function prebuild_greenlet() {
12+
true
13+
}
14+
15+
function build_greenlet() {
16+
cd $BUILD_greenlet
17+
18+
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/greenlet.so" ]; then
19+
return
20+
fi
21+
22+
push_arm
23+
24+
try $BUILD_PATH/python-install/bin/python.host setup.py install -O2
25+
pop_arm
26+
}
27+
28+
function postbuild_greenlet() {
29+
true
30+
}

0 commit comments

Comments
 (0)