From 631bf6a23a1e6954626b2ccff0eaa6e8cf86df78 Mon Sep 17 00:00:00 2001 From: Ricardo Madriz Date: Tue, 7 Dec 2021 07:50:30 -0600 Subject: [PATCH] Add CPython 3.10.1 (#2183) --- plugins/python-build/share/python-build/3.10.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.10.1 diff --git a/plugins/python-build/share/python-build/3.10.1 b/plugins/python-build/share/python-build/3.10.1 new file mode 100644 index 00000000..7d406481 --- /dev/null +++ b/plugins/python-build/share/python-build/3.10.1 @@ -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.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.10.1" "https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tar.xz#a7f1265b6e1a5de1ec5c3ec7019ab53413469934758311e9d240c46e5ae6e177" standard verify_py310 copy_python_gdb ensurepip +else + install_package "Python-3.10.1" "https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tgz#b76117670e7c5064344b9c138e141a377e686b9063f3a8a620ff674fa8ec90d3" standard verify_py310 copy_python_gdb ensurepip +fi