From 58c776a136a2c1b60ed104694fc14998e0fbb131 Mon Sep 17 00:00:00 2001 From: Kevin Rose Date: Sat, 22 Aug 2020 09:11:25 -0400 Subject: [PATCH] Add 3.6.12 and 3.7.9 versions (#1680) --- plugins/python-build/share/python-build/3.6.12 | 9 +++++++++ plugins/python-build/share/python-build/3.7.9 | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.6.12 create mode 100644 plugins/python-build/share/python-build/3.7.9 diff --git a/plugins/python-build/share/python-build/3.6.12 b/plugins/python-build/share/python-build/3.6.12 new file mode 100644 index 00000000..4ecea345 --- /dev/null +++ b/plugins/python-build/share/python-build/3.6.12 @@ -0,0 +1,9 @@ +#require_gcc +prefer_openssl11 +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.6.12" "https://www.python.org/ftp/python/3.6.12/Python-3.6.12.tar.xz#70953a9b5d6891d92e65d184c3512126a15814bee15e1eff2ddcce04334e9a99" ldflags_dirs standard verify_py37 copy_python_gdb ensurepip +else + install_package "Python-3.6.12" "https://www.python.org/ftp/python/3.6.12/Python-3.6.12.tgz#12dddbe52385a0f702fb8071e12dcc6b3cb2dde07cd8db3ed60e90d90ab78693" ldflags_dirs standard verify_py37 copy_python_gdb ensurepip +fi diff --git a/plugins/python-build/share/python-build/3.7.9 b/plugins/python-build/share/python-build/3.7.9 new file mode 100644 index 00000000..3b35af29 --- /dev/null +++ b/plugins/python-build/share/python-build/3.7.9 @@ -0,0 +1,10 @@ +#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.7.9" "https://www.python.org/ftp/python/3.7.9/Python-3.7.9.tar.xz#91923007b05005b5f9bd46f3b9172248aea5abc1543e8a636d59e629c3331b01" ldflags_dirs standard verify_py37 copy_python_gdb ensurepip +else + install_package "Python-3.7.9" "https://www.python.org/ftp/python/3.7.9/Python-3.7.9.tgz#39b018bc7d8a165e59aa827d9ae45c45901739b0bbb13721e4f973f3521c166a" ldflags_dirs standard verify_py37 copy_python_gdb ensurepip +fi