8b2694efb7
* fix build for openssl 1.1.1b required for sdk (cherry picked from commit aa49e3b2755b97b6331cdbbb89efc954de8d5977) * use js code from master * fix openssl recipe and tweak build (cherry picked from commit 6e94c27021c7bd7b1e880c2fc314850e36a5a38e) * remove unused build recipes (cherry picked from commit f5c0577bdb175bfc0990602936bbc9e2052e1f25)
22 lines
777 B
Python
22 lines
777 B
Python
from pythonforandroid.recipe import PythonRecipe, current_directory, shprint
|
|
import sh
|
|
|
|
|
|
class StormRecipe(PythonRecipe):
|
|
version = '0.20'
|
|
url = 'https://launchpad.net/storm/trunk/{version}/+download/storm-{version}.tar.bz2'
|
|
depends = []
|
|
site_packages_name = 'storm'
|
|
call_hostpython_via_targetpython = False
|
|
|
|
def prebuild_arch(self, arch):
|
|
with current_directory(self.get_build_dir(arch.arch)):
|
|
# Cross compiling for 32 bits in 64 bit ubuntu before precise is
|
|
# failing. See
|
|
# https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/873007
|
|
shprint(sh.sed, '-i',
|
|
"s|BUILD_CEXTENSIONS = True|BUILD_CEXTENSIONS = False|",
|
|
'setup.py')
|
|
|
|
|
|
recipe = StormRecipe()
|