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_docutils=
4+ URL_docutils=http://prdownloads.sourceforge.net/docutils/docutils-0.9.1.tar.gz
5+ DEPS_docutils=(pil)
6+ MD5_docutils=
7+ BUILD_docutils=$BUILD_PATH /docutils/$( get_directory $URL_docutils )
8+ RECIPE_docutils=$RECIPES_PATH /docutils
9+
10+ function prebuild_docutils() {
11+ true
12+ }
13+
14+ function build_docutils() {
15+ if [ -d " $BUILD_PATH /python-install/lib/python2.7/site-packages/docutils" ]; then
16+ # return
17+ true
18+ fi
19+
20+ cd $BUILD_docutils
21+
22+ push_arm
23+
24+ export LDFLAGS=" $LDFLAGS -L$LIBS_PATH "
25+ export LDSHARED=" $LIBLINK "
26+
27+ # fake try to be able to cythonize generated files
28+ $BUILD_PATH /python-install/bin/python.host setup.py build_ext
29+ try find . -iname ' *.pyx' -exec cython {} \;
30+ try $BUILD_PATH /python-install/bin/python.host setup.py build_ext -v
31+ try $BUILD_PATH /python-install/bin/python.host setup.py install -O2
32+
33+ unset LDSHARED
34+ pop_arm
35+ }
36+
37+ function postbuild_docutils() {
38+ true
39+ }
You can’t perform that action at this time.
0 commit comments