@@ -46,7 +46,7 @@ def modified_recipes(branch='origin/master'):
46
46
return recipes
47
47
48
48
49
- def build (target_python , requirements ):
49
+ def build (target_python , target_bootstrap , requirements ):
50
50
"""
51
51
Builds an APK given a target Python and a set of requirements.
52
52
"""
@@ -63,9 +63,12 @@ def build(target_python, requirements):
63
63
with current_directory ('testapps/' ):
64
64
try :
65
65
for line in sh .python (
66
- testapp , 'apk' , '--sdk-dir' , android_sdk_home ,
67
- '--ndk-dir' , android_ndk_home , '--bootstrap' , 'sdl2' , '--requirements' ,
68
- requirements , _err_to_out = True , _iter = True ):
66
+ testapp , 'apk' ,
67
+ '--sdk-dir' , android_sdk_home ,
68
+ '--ndk-dir' , android_ndk_home ,
69
+ '--bootstrap' , target_bootstrap ,
70
+ '--requirements' , requirements ,
71
+ _err_to_out = True , _iter = True ):
69
72
print (line )
70
73
except sh .ErrorReturnCode as e :
71
74
raise
@@ -89,7 +92,7 @@ def main():
89
92
broken_recipes = BROKEN_RECIPES [target_python ]
90
93
recipes -= broken_recipes
91
94
print ('recipes to build (no broken):' , recipes )
92
- build (target_python , recipes )
95
+ build (target_python , bs . name , recipes )
93
96
94
97
95
98
if __name__ == '__main__' :
0 commit comments