Skip to content

Commit bb5f009

Browse files
committed
Added hostpython3crystax recipe
1 parent 7a56105 commit bb5f009

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
from pythonforandroid.toolchain import Recipe, shprint, current_directory, info, warning
3+
from os.path import join, exists
4+
from os import chdir
5+
import sh
6+
7+
8+
class Hostpython3Recipe(Recipe):
9+
version = '3.5'
10+
# url = 'http://python.org/ftp/python/{version}/Python-{version}.tgz'
11+
# url = 'https://github.com/crystax/android-vendor-python-3-5/archive/master.zip'
12+
name = 'hostpython3crystax'
13+
14+
conflicts = ['hostpython2']
15+
16+
# def prebuild_armeabi(self):
17+
# # Override hostpython Setup?
18+
# shprint(sh.cp, join(self.get_recipe_dir(), 'Setup'),
19+
# join(self.get_build_dir('armeabi'), 'Modules', 'Setup'))
20+
21+
def build_arch(self, arch):
22+
self.ctx.hostpython = '/usr/bin/false'
23+
self.ctx.hostpgen = '/usr/bin/false'
24+
25+
26+
recipe = Hostpython3Recipe()

0 commit comments

Comments
 (0)