From 0726e02e3a1b638f6442dffd880abf256e9c2bf7 Mon Sep 17 00:00:00 2001 From: Noam Cohen Date: Mon, 24 Oct 2022 22:49:48 +0300 Subject: [PATCH] Add CPython 3.11.0 (#2493) --- plugins/python-build/share/python-build/3.11.0 | 9 +++++++++ plugins/python-build/share/python-build/3.11.0rc2 | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 plugins/python-build/share/python-build/3.11.0 delete mode 100644 plugins/python-build/share/python-build/3.11.0rc2 diff --git a/plugins/python-build/share/python-build/3.11.0 b/plugins/python-build/share/python-build/3.11.0 new file mode 100644 index 00000000..0f8504b8 --- /dev/null +++ b/plugins/python-build/share/python-build/3.11.0 @@ -0,0 +1,9 @@ +prefer_openssl11 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +install_package "openssl-1.1.1q" "https://www.openssl.org/source/openssl-1.1.1q.tar.gz#d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca" mac_openssl --if has_broken_mac_openssl +install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.11.0" "https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz#a57dc82d77358617ba65b9841cee1e3b441f386c3789ddc0676eca077f2951c3" standard verify_py311 copy_python_gdb ensurepip +else + install_package "Python-3.11.0" "https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tgz#20d77729a64b2a300f08717f7ffcb8da189d02e7c51e6e4a06c0340b619cbf32" standard verify_py311 copy_python_gdb ensurepip +fi diff --git a/plugins/python-build/share/python-build/3.11.0rc2 b/plugins/python-build/share/python-build/3.11.0rc2 deleted file mode 100644 index 84bfef58..00000000 --- a/plugins/python-build/share/python-build/3.11.0rc2 +++ /dev/null @@ -1,9 +0,0 @@ -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.1n" "https://www.openssl.org/source/openssl-1.1.1n.tar.gz#40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a" 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.11.0rc2" "https://www.python.org/ftp/python/3.11.0/Python-3.11.0rc2.tar.xz#25b35cc7d82c5ad34d867b179a1c1695d129be5ed14a21e46b6b7f2350a8b490" standard verify_py311 copy_python_gdb ensurepip -else - install_package "Python-3.11.0rc2" "https://www.python.org/ftp/python/3.11.0/Python-3.11.0rc2.tgz#d653d52498fa8e711f8b6bf42051e24a1fd14e21f48dba500803ab7e9218d6ec" standard verify_py311 copy_python_gdb ensurepip -fi