File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION_bidi=${VERSION_bidi:- 0.3.4}
4+ DEPS_bidi=(python setuptools)
5+ URL_bidi=http://pypi.python.org/packages/source/p/python-bidi/python-bidi-$VERSION_bidi .tar.gz
6+ MD5_bidi=ce64c7d3d97264df1f84e377d145cad5
7+ BUILD_bidi=$BUILD_PATH /bidi/$( get_directory $URL_bidi )
8+ RECIPE_bidi=$RECIPES_PATH /bidi
9+
10+ function prebuild_bidi() {
11+ true
12+ }
13+
14+ function shouldbuild_bidi() {
15+ if [ -d " $SITEPACKAGES_PATH /bidi" ]; then
16+ DO_BUILD=0
17+ fi
18+ }
19+
20+ function build_bidi() {
21+ cd $BUILD_bidi
22+
23+ push_arm
24+
25+ export LDSHARED=" $LIBLINK "
26+
27+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
28+ try $HOSTPYTHON setup.py build_ext -v
29+
30+ export PYTHONPATH=$BUILD_hostpython /Lib/site-packages
31+ try $BUILD_hostpython /hostpython setup.py install -O2 --root=$BUILD_PATH /python-install --install-lib=lib/python2.7/site-packages
32+
33+ unset LDSHARED
34+ pop_arm
35+ }
36+
37+ function postbuild_bidi() {
38+ true
39+ }
You can’t perform that action at this time.
0 commit comments