forked from kivy/python-for-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecipe.sh
More file actions
31 lines (25 loc) · 734 Bytes
/
recipe.sh
File metadata and controls
31 lines (25 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
VERSION_txws=${VERSION_txws:-0.7}
URL_txws=http://pypi.python.org/packages/source/t/txWS/txWS-$VERSION_txws.tar.gz
DEPS_txws=(twisted)
MD5_txws=e8f5fb03c189d83b47b21176c7574126
BUILD_txws=$BUILD_PATH/txws/$(get_directory $URL_txws)
RECIPE_txws=$RECIPES_PATH/txws
function prebuild_txws() {
true
}
function shouldbuild_txws() {
if [ -d "$SITEPACKAGES_PATH/txws" ]; then
DO_BUILD=0
fi
}
function build_txws() {
cd $BUILD_txws
push_arm
export PYTHONPATH=$BUILD_PATH/hostpython/Python-2.7.2/Lib/site-packages
try $BUILD_PATH/hostpython/Python-2.7.2/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages
pop_arm
}
function postbuild_txws() {
true
}