From 7d02b2463b7da53ca62b655c8d5b3a72c7f0cab5 Mon Sep 17 00:00:00 2001 From: Les Aker Date: Mon, 4 Mar 2019 23:58:26 +0300 Subject: [PATCH] Add CPython 2.7.16 (#1296) --- plugins/python-build/share/python-build/2.7.16 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 plugins/python-build/share/python-build/2.7.16 diff --git a/plugins/python-build/share/python-build/2.7.16 b/plugins/python-build/share/python-build/2.7.16 new file mode 100644 index 00000000..217eee9f --- /dev/null +++ b/plugins/python-build/share/python-build/2.7.16 @@ -0,0 +1,8 @@ +#require_gcc +install_package "openssl-1.0.2q" "https://www.openssl.org/source/openssl-1.0.2q.tar.gz#5744cfcbcec2b1b48629f7354203bc1e5e9b5466998bbccc5b5fcde3b18eb684" mac_openssl --if has_broken_mac_openssl +install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" standard --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-2.7.16" "https://www.python.org/ftp/python/2.7.16/Python-2.7.16.tar.xz#f222ef602647eecb6853681156d32de4450a2c39f4de93bd5b20235f2e660ed7" ldflags_dirs standard verify_py27 copy_python_gdb ensurepip +else + install_package "Python-2.7.16" "https://www.python.org/ftp/python/2.7.16/Python-2.7.16.tgz#01da813a3600876f03f46db11cc5c408175e99f03af2ba942ef324389a83bad5" ldflags_dirs standard verify_py27 copy_python_gdb ensurepip +fi