File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # version of your package
4+ VERSION_pyzmq=${VERSION_pyzmq:- 14.7.0}
5+
6+ # dependencies of this recipe
7+ DEPS_pyzmq=(python setuptools)
8+
9+ # url of the package
10+ URL_pyzmq=https://pypi.python.org/packages/source/p/pyzmq/pyzmq-$VERSION_pyzmq .tar.gz
11+
12+ # md5 of the package
13+ MD5_pyzmq=87e3abb33af5794db5ae85c667bbf324
14+
15+ # default build path
16+ BUILD_pyzmq=$BUILD_PATH /pyzmq/$( get_directory $URL_pyzmq )
17+
18+ # default recipe path
19+ RECIPE_pyzmq=$RECIPES_PATH /pyzmq
20+
21+ # function called for preparing source code if needed
22+ # (you can apply patch etc here.)
23+ function prebuild_pyzmq() {
24+ true
25+ }
26+
27+ # function called to build the source code
28+ function build_pyzmq() {
29+ cd $BUILD_bidi
30+ push_arm
31+ export LDSHARED=" $LIBLINK "
32+
33+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
34+ try $HOSTPYTHON setup.py build_ext -v
35+
36+ export PYTHONPATH=$BUILD_hostpython /Lib/site-packages
37+ try $BUILD_hostpython /hostpython setup.py install -O2 --root=$BUILD_PATH /python-install --install-lib=lib/python2.7/site-packages
38+
39+ unset LDSHARED
40+ pop_arm
41+ }
42+
43+ # function called after all the compile have been done
44+ function postbuild_pyzmq() {
45+ true
46+ }
You can’t perform that action at this time.
0 commit comments