File tree 2 files changed +43
-3
lines changed
2 files changed +43
-3
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ VERSION_thrift=${VERSION_thrift:- 0.9.2}
4
+ URL_thrift=https://pypi.python.org/packages/source/t/thrift/thrift-$VERSION_thrift .tar.gz
5
+ DEPS_thrift=(python setuptools)
6
+ MD5_thrift=91f1c224c46a257bb428431943387dfd
7
+ BUILD_thrift=$BUILD_PATH /thrift/$( get_directory $URL_thrift )
8
+ RECIPE_thrift=$RECIPES_PATH /thrift
9
+
10
+ function prebuild_thrift() {
11
+ true
12
+ }
13
+
14
+ function shouldbuild_thrift() {
15
+ if [ -d " $SITEPACKAGES_PATH /thrift" ]; then
16
+ DO_BUILD=0
17
+ fi
18
+ }
19
+
20
+ function build_thrift() {
21
+ cd $BUILD_thrift
22
+
23
+ push_arm
24
+
25
+ # fake try to be able to cythonize generated files
26
+ $HOSTPYTHON setup.py build_ext
27
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
28
+ try $HOSTPYTHON setup.py build_ext -v
29
+
30
+ try find build/lib.* -name " *.o" -exec $STRIP {} \;
31
+
32
+ export PYTHONPATH=$BUILD_PATH /hostpython/Python-2.7.2/Lib/site-packages
33
+ 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
34
+
35
+ pop_arm
36
+ }
37
+
38
+ function postbuild_thrift() {
39
+ true
40
+ }
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- VERSION_twisted=${VERSION_twisted:- 14.0 }
4
- URL_twisted=http://twistedmatrix.com/Releases/Twisted/$VERSION_twisted /Twisted-$VERSION_twisted .0 .tar.bz2
3
+ VERSION_twisted=${VERSION_twisted:- 15.2 }
4
+ URL_twisted=http://twistedmatrix.com/Releases/Twisted/$VERSION_twisted /Twisted-$VERSION_twisted .1 .tar.bz2
5
5
6
6
DEPS_twisted=(zope)
7
- MD5_twisted=9625c094e0a18da77faa4627b98c9815
7
+ MD5_twisted=4be066a899c714e18af1ecfcb01cfef7
8
8
BUILD_twisted=$BUILD_PATH /twisted/$( get_directory $URL_twisted )
9
9
RECIPE_twisted=$RECIPES_PATH /twisted
10
10
You can’t perform that action at this time.
0 commit comments