From a87877c381bb7cd17e951700e3a0b61287d51f7d Mon Sep 17 00:00:00 2001 From: Hiro Asari Date: Mon, 10 Oct 2016 00:53:44 -0400 Subject: [PATCH] Add 3.7-dev definition As reported in https://github.com/travis-ci/travis-ci/issues/6599, the "default" Python branch has moved on to "3.7-dev". --- plugins/python-build/bin/python-build | 5 +++++ plugins/python-build/share/python-build/3.7-dev | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.7-dev diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index f7e89322..73a00e06 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1655,6 +1655,11 @@ build_package_verify_py36() { build_package_verify_py35 "$1" "${2:-3.6}" } +# Post-install check for Python 3.7.x +build_package_verify_py37() { + build_package_verify_py36 "$1" "${2:-3.7}" +} + build_package_ez_setup() { local ez_setup="ez_setup.py" rm -f "${ez_setup}" diff --git a/plugins/python-build/share/python-build/3.7-dev b/plugins/python-build/share/python-build/3.7-dev new file mode 100644 index 00000000..8bd7dc97 --- /dev/null +++ b/plugins/python-build/share/python-build/3.7-dev @@ -0,0 +1,4 @@ +#require_gcc +install_package "openssl-1.0.2g" "https://www.openssl.org/source/openssl-1.0.2g.tar.gz#b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33" 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 +install_hg "Python-3.7-dev" "https://hg.python.org/cpython" "default" standard verify_py37 ensurepip