Skip to content

Commit ad85862

Browse files
author
Ryan Northey
committed
added recipe for txWS twisted web sockets package
1 parent 5d8236e commit ad85862

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

recipes/txws/recipe.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/bash
2+
3+
VERSION_txws=0.7
4+
URL_txws=http://pypi.python.org/packages/source/t/txWS/txWS-$VERSION_txws.tar.gz
5+
DEPS_txws=(twisted)
6+
MD5_txws=e8f5fb03c189d83b47b21176c7574126
7+
BUILD_txws=$BUILD_PATH/txws/$(get_directory $URL_txws)
8+
RECIPE_txws=$RECIPES_PATH/txws
9+
10+
function prebuild_txws() {
11+
true
12+
}
13+
14+
function build_txws() {
15+
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/txws" ]; then
16+
return
17+
fi
18+
cd $BUILD_txws
19+
push_arm
20+
export PYTHONPATH=$BUILD_PATH/hostpython/Python-2.7.2/Lib/site-packages
21+
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
22+
pop_arm
23+
}
24+
25+
function postbuild_txws() {
26+
true
27+
}
28+

0 commit comments

Comments
 (0)