From 881ba40ff4880051093c8c32c34978c8091b5c9e Mon Sep 17 00:00:00 2001 From: Rodolfo Puig Date: Tue, 6 Dec 2022 17:36:03 -0500 Subject: [PATCH] Add CPython 3.10.9 Signed-off-by: Rodolfo Puig --- plugins/python-build/share/python-build/3.10.9 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.10.9 diff --git a/plugins/python-build/share/python-build/3.10.9 b/plugins/python-build/share/python-build/3.10.9 new file mode 100644 index 00000000..2486eaba --- /dev/null +++ b/plugins/python-build/share/python-build/3.10.9 @@ -0,0 +1,9 @@ +prefer_openssl11 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +install_package "openssl-1.1.1o" "https://www.openssl.org/source/openssl-1.1.1o.tar.gz#9384a2b0570dd80358841464677115df785edb941c71211f75076d72fe6b438f" 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.10.9" "https://www.python.org/ftp/python/3.10.9/Python-3.10.9.tar.xz#5ae03e308260164baba39921fdb4dbf8e6d03d8235a939d4582b33f0b5e46a83" standard verify_py310 copy_python_gdb ensurepip +else + install_package "Python-3.10.9" "https://www.python.org/ftp/python/3.10.9/Python-3.10.9.tgz#4ccd7e46c8898f4c7862910a1703aa0e63525913a519abb2f55e26220a914d88" standard verify_py310 copy_python_gdb ensurepip +fi