From 30ba8356bc19ae6942fbc96019bb0104526657b0 Mon Sep 17 00:00:00 2001 From: Theelgirl Date: Mon, 19 Apr 2021 09:15:12 -0700 Subject: [PATCH] Add CPython 3.10.0a7 --- plugins/python-build/share/python-build/3.10.0a7 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.10.0a7 diff --git a/plugins/python-build/share/python-build/3.10.0a7 b/plugins/python-build/share/python-build/3.10.0a7 new file mode 100644 index 00000000..acea1967 --- /dev/null +++ b/plugins/python-build/share/python-build/3.10.0a7 @@ -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.0a7" "https://www.python.org/ftp/python/3.10.0/Python-3.10.0a7.tar.xz#513199724498513e7098c46bf6442192f5ffef32478d92499704aeeff3516db" ldflags_dirs standard verify_py39 copy_python_gdb ensurepip +else + install_package "Python-3.10.0a7" "https://www.python.org/ftp/python/3.10.0/Python-3.10.0a7.tgz#513199724498513e7098c46bf6442192f5ffef32478d92499704aeeff3516db2" ldflags_dirs standard verify_py39 copy_python_gdb ensurepip +fi