@@ -138,8 +138,8 @@ def make_build_python(context):
138138
139139def  unpack_deps (host ):
140140    deps_url  =  "https://github.com/beeware/cpython-android-source-deps/releases/download" 
141-     for  name_ver  in  ["bzip2-1.0.8-1 " , "libffi-3.4.4-2 " , "openssl-3.0.15-0 " ,
142-                      "sqlite-3.45.1-0 " , "xz-5.4.6-0 " ]:
141+     for  name_ver  in  ["bzip2-1.0.8-2 " , "libffi-3.4.4-3 " , "openssl-3.0.15-4 " ,
142+                      "sqlite-3.45.3-3 " , "xz-5.4.6-1 " ]:
143143        filename  =  f"{ name_ver } { host }  
144144        download (f"{ deps_url } { name_ver } { filename }  )
145145        run (["tar" , "-xf" , filename ])
@@ -189,12 +189,13 @@ def configure_host_python(context):
189189
190190def  make_host_python (context ):
191191    # The CFLAGS and LDFLAGS set in android-env include the prefix dir, so 
192-     # delete any previously-installed  Python libs and include files to prevent  
193-     # them being used during  the build. 
192+     # delete any previous  Python installation to prevent it being used during  
193+     # the build. 
194194    host_dir  =  subdir (context .host )
195195    prefix_dir  =  host_dir  /  "prefix" 
196196    delete_glob (f"{ prefix_dir }  )
197197    delete_glob (f"{ prefix_dir }  )
198+     delete_glob (f"{ prefix_dir }  )
198199
199200    os .chdir (host_dir  /  "build" )
200201    run (["make" , "-j" , str (os .cpu_count ())], host = context .host )
0 commit comments