From 32740a1e86baf2cd792dd90576f3e94cf1058882 Mon Sep 17 00:00:00 2001 From: Jose Martin Date: Fri, 19 Feb 2021 18:07:50 +0100 Subject: [PATCH 1/2] Add CPython 3.9.2 --- plugins/python-build/share/python-build/3.9.2 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.9.2 diff --git a/plugins/python-build/share/python-build/3.9.2 b/plugins/python-build/share/python-build/3.9.2 new file mode 100644 index 00000000..342d371e --- /dev/null +++ b/plugins/python-build/share/python-build/3.9.2 @@ -0,0 +1,11 @@ +#require_gcc +prefer_openssl11 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +install_package "openssl-1.1.0j" "https://www.openssl.org/source/old/1.1.0/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" 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.9.2" "https://www.python.org/ftp/python/3.9.2/Python-3.9.2.tar.xz#3c2034c54f811448f516668dce09d24008a0716c3a794dd8639b5388cbde247d" ldflags_dirs standard verify_py39 copy_python_gdb ensurepip +else + install_package "Python-3.9.2" "https://www.python.org/ftp/python/3.9.2/Python-3.9.2.tgz#7899e8a6f7946748830d66739f2d8f2b30214dad956e56b9ba216b3de5581519" ldflags_dirs standard verify_py39 copy_python_gdb ensurepip +fi + From d9cb389a46e29efd771e5cbcb82906c263928379 Mon Sep 17 00:00:00 2001 From: Anton Petrov Date: Sat, 20 Feb 2021 06:33:06 +0300 Subject: [PATCH 2/2] Update 3.9.2 Upgrade openssl to 1.1.1i --- plugins/python-build/share/python-build/3.9.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/share/python-build/3.9.2 b/plugins/python-build/share/python-build/3.9.2 index 342d371e..2c448409 100644 --- a/plugins/python-build/share/python-build/3.9.2 +++ b/plugins/python-build/share/python-build/3.9.2 @@ -1,7 +1,7 @@ #require_gcc prefer_openssl11 export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.0j" "https://www.openssl.org/source/old/1.1.0/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl +install_package "openssl-1.1.1i" "https://www.openssl.org/source/old/1.1.1/openssl-1.1.1i.tar.gz#e8be6a35fe41d10603c3cc635e93289ed00bf34b79671a3a4de64fcee00d5242" 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.9.2" "https://www.python.org/ftp/python/3.9.2/Python-3.9.2.tar.xz#3c2034c54f811448f516668dce09d24008a0716c3a794dd8639b5388cbde247d" ldflags_dirs standard verify_py39 copy_python_gdb ensurepip