pypy-src: Use current official Git repo

PyPy maintainers only provide downloads at https://downloads.python.org/pypy/
for a couple of latest releases, after which they delete them.
So using Git checkouts from corresponding tags is more future-proof.

Cannot use GitHub-generated Zip downloads because they might change --
thus are impossible to verify.

* verify Git checkouts by SHA-1 hashes
* refactor files that use variables
* Update dependencies according to Matti Picus
(https://github.com/pyenv/pyenv/pull/3552#issuecomment-5893742658):
  * 7.3.18+ -- OpenSSL 3
    * OpenSSL 1.1.1 gives build errors so require OpenSSL strictly
  * 7.3.21+ -- Tcl/Tk 9
This commit is contained in:
Ivan Pozdeev committed 2026-10-08 12:08:43 +03:00
1 parent 051e82374e
commit 3a61d6edaa
99 files changed
+180 -371

No files matched your search

+8
View File
@@ -1799,6 +1799,14 @@ prefer_openssl3_to_4() {
export PYTHON_BUILD_MACPORTS_OPENSSL_FORMULA
}
require_openssl3() {
PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA="${PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA:-openssl@3 openssl@3.5 openssl@3.0}"
export PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA
PYTHON_BUILD_MACPORTS_OPENSSL_FORMULA="${PYTHON_BUILD_MACPORTS_OPENSSL_FORMULA:-openssl3}"
export PYTHON_BUILD_MACPORTS_OPENSSL_FORMULA
}
build_package_mac_readline() {
# Install to a subdirectory since we don't want shims for bin/readline.
READLINE_PREFIX_PATH="${PREFIX_PATH}/readline"