From 5e9ef180024c88b4eaca11a25273cc6aef57ad04 Mon Sep 17 00:00:00 2001 From: zed Date: Fri, 22 Mar 2019 10:53:13 +0300 Subject: [PATCH 1/2] Add CPython 3.5.7 --- plugins/python-build/share/python-build/3.5.7 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.5.7 diff --git a/plugins/python-build/share/python-build/3.5.7 b/plugins/python-build/share/python-build/3.5.7 new file mode 100644 index 00000000..12880ff7 --- /dev/null +++ b/plugins/python-build/share/python-build/3.5.7 @@ -0,0 +1,8 @@ +#require_gcc +install_package "openssl-1.0.2k" "https://www.openssl.org/source/openssl-1.0.2k.tar.gz#6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0" mac_openssl --if has_broken_mac_openssl +install_package "readline-6.3" "https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" standard --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.5.7" "https://www.python.org/ftp/python/3.5.7/Python-3.5.7.tar.xz#285892899bf4d5737fd08482aa6171c6b2564a45b9102dfacfb72826aebdc7dc" ldflags_dirs standard verify_py35 ensurepip +else + install_package "Python-3.5.7" "https://www.python.org/ftp/python/3.5.7/Python-3.5.7.tgz#542d94920a2a06a471a73b51614805ad65366af98145b0369bc374cf248b521b" ldflags_dirs standard verify_py35 ensurepip +fi \ No newline at end of file From 5f469790793e5eadb3ef5c84c696857e88bab474 Mon Sep 17 00:00:00 2001 From: zed Date: Fri, 22 Mar 2019 11:06:59 +0300 Subject: [PATCH 2/2] add newline at the end of file --- plugins/python-build/share/python-build/3.5.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/share/python-build/3.5.7 b/plugins/python-build/share/python-build/3.5.7 index 12880ff7..9496f0fb 100644 --- a/plugins/python-build/share/python-build/3.5.7 +++ b/plugins/python-build/share/python-build/3.5.7 @@ -5,4 +5,4 @@ if has_tar_xz_support; then install_package "Python-3.5.7" "https://www.python.org/ftp/python/3.5.7/Python-3.5.7.tar.xz#285892899bf4d5737fd08482aa6171c6b2564a45b9102dfacfb72826aebdc7dc" ldflags_dirs standard verify_py35 ensurepip else install_package "Python-3.5.7" "https://www.python.org/ftp/python/3.5.7/Python-3.5.7.tgz#542d94920a2a06a471a73b51614805ad65366af98145b0369bc374cf248b521b" ldflags_dirs standard verify_py35 ensurepip -fi \ No newline at end of file +fi