From 2350e57b00f0003e156f65b0555d823c96c069c9 Mon Sep 17 00:00:00 2001 From: Josh Friend Date: Tue, 4 Jun 2019 19:39:02 -0400 Subject: [PATCH] Add CPython 3.8.0b1 --- plugins/python-build/bin/python-build | 5 +++++ plugins/python-build/share/python-build/3.8-dev | 2 +- plugins/python-build/share/python-build/3.9-dev | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 plugins/python-build/share/python-build/3.9-dev diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 6a66aee6..8909918d 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1889,6 +1889,11 @@ build_package_verify_py38() { build_package_verify_py37 "$1" "${2:-3.8}" } +# Post-install check for Python 3.9.x +build_package_verify_py39() { + build_package_verify_py38 "$1" "${2:-3.9}" +} + # Copy Tools/gdb/libpython.py to pythonX.Y-gdb.py (#1190) build_package_copy_python_gdb() { if [ -e "$BUILD_PATH/$1/Tools/gdb/libpython.py" ]; then diff --git a/plugins/python-build/share/python-build/3.8-dev b/plugins/python-build/share/python-build/3.8-dev index b40a6541..c0a16246 100644 --- a/plugins/python-build/share/python-build/3.8-dev +++ b/plugins/python-build/share/python-build/3.8-dev @@ -3,4 +3,4 @@ prefer_openssl11 export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 install_package "openssl-1.1.0j" "https://www.openssl.org/source/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 -install_git "Python-3.8-dev" "https://github.com/python/cpython" master standard verify_py38 copy_python_gdb ensurepip +install_git "Python-3.8-dev" "https://github.com/python/cpython" "3.8" standard verify_py38 copy_python_gdb ensurepip diff --git a/plugins/python-build/share/python-build/3.9-dev b/plugins/python-build/share/python-build/3.9-dev new file mode 100644 index 00000000..033cf815 --- /dev/null +++ b/plugins/python-build/share/python-build/3.9-dev @@ -0,0 +1,6 @@ +#require_gcc +prefer_openssl11 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +install_package "openssl-1.1.0j" "https://www.openssl.org/source/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 +install_git "Python-3.9-dev" "https://github.com/python/cpython" master standard verify_py39 copy_python_gdb ensurepip