From 32740a1e86baf2cd792dd90576f3e94cf1058882 Mon Sep 17 00:00:00 2001 From: Jose Martin Date: Fri, 19 Feb 2021 18:07:50 +0100 Subject: [PATCH] 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 +