From bdd58ff278c0eb7c02750d64afd98e6a90e3909b Mon Sep 17 00:00:00 2001 From: ipfans Date: Mon, 24 Dec 2018 23:22:35 +0800 Subject: [PATCH 1/2] CPython 3.7.2 --- plugins/python-build/share/python-build/3.7.2 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.7.2 diff --git a/plugins/python-build/share/python-build/3.7.2 b/plugins/python-build/share/python-build/3.7.2 new file mode 100644 index 00000000..2ddaa8fd --- /dev/null +++ b/plugins/python-build/share/python-build/3.7.2 @@ -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.7.2" "https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz#d83fe8ce51b1bb48bbcf0550fd265b9a75cdfdfa93f916f9e700aef8444bf1bb" ldflags_dirs standard verify_py37 ensurepip +else + install_package "Python-3.7.2" "https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz#f09d83c773b9cc72421abba2c317e4e6e05d919f9bcf34468e192b6a6c8e328d" ldflags_dirs standard verify_py37 ensurepip +fi From b246ba437fd5837b5c610171b6a5df3001afe834 Mon Sep 17 00:00:00 2001 From: ipfans Date: Mon, 24 Dec 2018 23:23:52 +0800 Subject: [PATCH 2/2] CPython 3.6.8 --- plugins/python-build/share/python-build/3.6.8 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.6.8 diff --git a/plugins/python-build/share/python-build/3.6.8 b/plugins/python-build/share/python-build/3.6.8 new file mode 100644 index 00000000..08995496 --- /dev/null +++ b/plugins/python-build/share/python-build/3.6.8 @@ -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.6.8" "https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz#35446241e995773b1bed7d196f4b624dadcadc8429f26282e756b2fb8a351193" ldflags_dirs standard verify_py37 ensurepip +else + install_package "Python-3.6.8" "https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tgz#7f5b1f08b3b0a595387ef6c64c85b1b13b38abef0dd871835ee923262e4f32f0" ldflags_dirs standard verify_py37 ensurepip +fi