@@ -17,17 +17,17 @@ def prebuild_armeabi(self):
1717 print ('Python2 already patched, skipping.' )
1818 return
1919 self .apply_patch (join ('patches' , 'Python-{}-xcompile.patch' .format (self .version )))
20- self .apply_patch (join ('patches' , 'disable-modules.patch' ))
21- self .apply_patch (join ('patches' , 'fix-locale.patch' ))
22- self .apply_patch (join ('patches' , 'fix-gethostbyaddr.patch' ))
23- self .apply_patch (join ('patches' , 'fix-setup-flags.patch' ))
24- self .apply_patch (join ('patches' , 'fix-filesystemdefaultencoding.patch' ))
25- self .apply_patch (join ('patches' , 'fix-termios.patch' ))
26- self .apply_patch (join ('patches' , 'custom-loader.patch' ))
27- self .apply_patch (join ('patches' , 'verbose-compilation.patch' ))
28- self .apply_patch (join ('patches' , 'fix-remove-corefoundation.patch' ))
29- self .apply_patch (join ('patches' , 'fix-dynamic-lookup.patch' ))
30- self .apply_patch (join ('patches' , 'fix-dlfcn.patch' ))
20+ self .apply_patch (join ('patches' , 'disable-modules.patch' ))
21+ self .apply_patch (join ('patches' , 'fix-locale.patch' ))
22+ self .apply_patch (join ('patches' , 'fix-gethostbyaddr.patch' ))
23+ self .apply_patch (join ('patches' , 'fix-setup-flags.patch' ))
24+ self .apply_patch (join ('patches' , 'fix-filesystemdefaultencoding.patch' ))
25+ self .apply_patch (join ('patches' , 'fix-termios.patch' ))
26+ self .apply_patch (join ('patches' , 'custom-loader.patch' ))
27+ self .apply_patch (join ('patches' , 'verbose-compilation.patch' ))
28+ self .apply_patch (join ('patches' , 'fix-remove-corefoundation.patch' ))
29+ self .apply_patch (join ('patches' , 'fix-dynamic-lookup.patch' ))
30+ self .apply_patch (join ('patches' , 'fix-dlfcn.patch' ))
3131
3232 if uname ()[0 ] == 'Linux' :
3333 self .apply_patch (join ('patches' , 'fix-configure-darwin.patch' ))
@@ -55,7 +55,7 @@ def build_armeabi(self):
5555
5656 with current_directory (self .get_build_dir ('armeabi' )):
5757
58-
58+
5959 hostpython_recipe = Recipe .get_recipe ('hostpython2' , self .ctx )
6060 shprint (sh .cp , join (hostpython_recipe .get_recipe_dir (), 'Setup' ), 'Modules' )
6161
@@ -88,7 +88,7 @@ def build_armeabi(self):
8888 _env = env )
8989 except sh .ErrorReturnCode_2 :
9090 print ('First python2 make failed. This is expected, trying again.' )
91-
91+
9292
9393 print ('Second install (expected to work)' )
9494 shprint (sh .touch , 'python.exe' , 'python' )
@@ -113,8 +113,8 @@ def build_armeabi(self):
113113 'python.host' ))
114114 self .ctx .hostpython = join (self .ctx .build_dir , 'python-install' ,
115115 'bin' , 'python.host' )
116-
117-
116+
117+
118118 # reduce python?
119119 for dir_name in ('test' , join ('json' , 'tests' ), 'lib-tk' ,
120120 join ('sqlite3' , 'test' ), join ('unittest, test' ),
@@ -123,11 +123,6 @@ def build_armeabi(self):
123123 'curses' ):
124124 shprint (sh .rm , '-rf' , join (self .ctx .build_dir , 'python-install' ,
125125 'lib' , 'python2.7' , dir_name ))
126-
127-
128-
129-
130-
131126
132127
133128recipe = Python2Recipe ()
0 commit comments