From c7d8a1c33d191a10733b3326bff53660c4bf41bb Mon Sep 17 00:00:00 2001 From: Kenji Saito Date: Tue, 31 Aug 2021 08:28:26 +0900 Subject: [PATCH] Add CPython 3.9.7 --- plugins/python-build/share/python-build/3.9.7 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.9.7 diff --git a/plugins/python-build/share/python-build/3.9.7 b/plugins/python-build/share/python-build/3.9.7 new file mode 100644 index 00000000..3aa1aa28 --- /dev/null +++ b/plugins/python-build/share/python-build/3.9.7 @@ -0,0 +1,10 @@ +#require_gcc +prefer_openssl11 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl +install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.9.7" "https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tar.xz#f8145616e68c00041d1a6399b76387390388f8359581abc24432bb969b5e3c57" standard verify_py39 copy_python_gdb ensurepip +else + install_package "Python-3.9.7" "https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz#a838d3f9360d157040142b715db34f0218e535333696a5569dc6f854604eb9d1" standard verify_py39 copy_python_gdb ensurepip +fi