scripts: prepare for Bintray deprecation

Use termux.org as main repo host.

grimler.se / *.termux-mirror.ml for others.
This commit is contained in:
Leonid Pliushch 2021-02-08 12:55:53 +02:00
parent bc25f0fd63
commit aadee78eed
No known key found for this signature in database
GPG Key ID: 45F2964132545795
3 changed files with 8 additions and 8 deletions

View File

@ -30,12 +30,12 @@ termux_step_setup_variables() {
: "${TERMUX_PKG_MAINTAINER:="default"}"
TERMUX_REPO_URL=(
https://dl.bintray.com/termux/termux-packages-24
https://dl.bintray.com/grimler/game-packages-24
https://dl.bintray.com/grimler/science-packages-24
https://dl.bintray.com/grimler/termux-root-packages-24
https://dl.bintray.com/xeffyr/unstable-packages
https://dl.bintray.com/xeffyr/x11-packages
https://termux.org/packages
https://grimler.se/game-packages-24
https://grimler.se/science-packages-24
https://grimler.se/termux-root-packages-24
https://unstable.termux-mirror.ml
https://x11.termux-mirror.ml
)
TERMUX_REPO_DISTRIBUTION=(

View File

@ -29,6 +29,6 @@ def check_manifest(arch, manifest):
current_package[parts[0].strip()] = parts[1].strip()
for arch in ['all', 'aarch64', 'arm', 'i686', 'x86_64']:
manifest_url = f'https://dl.bintray.com/termux/termux-packages-24/dists/stable/main/binary-{arch}/Packages'
manifest_url = f'https://termux.org/packages/dists/stable/main/binary-{arch}/Packages'
with urllib.request.urlopen(manifest_url) as manifest:
check_manifest(arch, manifest)

View File

@ -19,7 +19,7 @@ BOOTSTRAP_ANDROID10_COMPATIBLE=false
TERMUX_ARCHITECTURES=("aarch64" "arm" "i686" "x86_64")
# Can be changed by using '--repository' option.
REPO_BASE_URL="https://dl.bintray.com/termux/termux-packages-24"
REPO_BASE_URL="https://termux.org/packages"
# A list of non-essential packages. By default it is empty, but can
# be filled with option '--add'.