(host, prefix_dir, cache_dir)
| 211 | # If you're a member of the Python core team, and you'd like to be able to push |
| 212 | # these tags yourself, please contact Malcolm Smith or Russell Keith-Magee. |
| 213 | def unpack_deps(host, prefix_dir, cache_dir): |
| 214 | os.chdir(prefix_dir) |
| 215 | deps_url = "https://github.com/beeware/cpython-android-source-deps/releases/download" |
| 216 | for name_ver in ["bzip2-1.0.8-3", "libffi-3.4.4-3", "openssl-3.5.5-0", |
| 217 | "sqlite-3.50.4-0", "xz-5.4.6-1", "zstd-1.5.7-2"]: |
| 218 | filename = f"{name_ver}-{host}.tar.gz" |
| 219 | out_path = download(f"{deps_url}/{name_ver}/{filename}", cache_dir) |
| 220 | shutil.unpack_archive(out_path) |
| 221 | |
| 222 | |
| 223 | def download(url, cache_dir): |
no test coverage detected
searching dependent graphs…