Add 3.10-dev

This commit is contained in:
Paul Ganssle 2020-05-19 11:26:47 -04:00
parent 14feb59960
commit cd2c26ef71
No known key found for this signature in database
GPG key ID: CD54FCE3D964BEFB
2 changed files with 11 additions and 0 deletions

View file

@ -1722,6 +1722,11 @@ build_package_verify_py39() {
build_package_verify_py38 "$1" "${2:-3.9}" build_package_verify_py38 "$1" "${2:-3.9}"
} }
# Post-install check for Python 3.10.x
build_package_verify_py310() {
build_package_verify_py39 "$1" "${2:-3.10}"
}
# Copy Tools/gdb/libpython.py to pythonX.Y-gdb.py (#1190) # Copy Tools/gdb/libpython.py to pythonX.Y-gdb.py (#1190)
build_package_copy_python_gdb() { build_package_copy_python_gdb() {
if [ -e "$BUILD_PATH/$1/Tools/gdb/libpython.py" ]; then if [ -e "$BUILD_PATH/$1/Tools/gdb/libpython.py" ]; then

View file

@ -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/old/1.1.0/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.10-dev" "https://github.com/python/cpython" master standard verify_py310 copy_python_gdb ensurepip