From 807a4e0cacbc5e2cc9864a59ceb06cf5c8c4641d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 12 Jun 2025 05:47:09 -0400 Subject: [PATCH] Add CPython 3.13.5 (#3269) --- plugins/python-build/share/python-build/3.13.5 | 9 +++++++++ plugins/python-build/share/python-build/3.13.5t | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 plugins/python-build/share/python-build/3.13.5 create mode 100644 plugins/python-build/share/python-build/3.13.5t diff --git a/plugins/python-build/share/python-build/3.13.5 b/plugins/python-build/share/python-build/3.13.5 new file mode 100644 index 00000000..8ab201eb --- /dev/null +++ b/plugins/python-build/share/python-build/3.13.5 @@ -0,0 +1,9 @@ +prefer_openssl3 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +install_package "openssl-3.4.1" "https://github.com/openssl/openssl/releases/download/openssl-3.4.1/openssl-3.4.1.tar.gz#002a2d6b30b58bf4bea46c43bdd96365aaf8daa6c428782aa4feee06da197df3" mac_openssl --if has_broken_mac_openssl +install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.13.5" "https://www.python.org/ftp/python/3.13.5/Python-3.13.5.tar.xz#93e583f243454e6e9e4588ca2c2662206ad961659863277afcdb96801647d640" standard verify_py313 copy_python_gdb ensurepip +else + install_package "Python-3.13.5" "https://www.python.org/ftp/python/3.13.5/Python-3.13.5.tgz#e6190f52699b534ee203d9f417bdbca05a92f23e35c19c691a50ed2942835385" standard verify_py313 copy_python_gdb ensurepip +fi diff --git a/plugins/python-build/share/python-build/3.13.5t b/plugins/python-build/share/python-build/3.13.5t new file mode 100644 index 00000000..19a26d51 --- /dev/null +++ b/plugins/python-build/share/python-build/3.13.5t @@ -0,0 +1,2 @@ +export PYTHON_BUILD_FREE_THREADING=1 +source "$(dirname "${BASH_SOURCE[0]}")"/3.13.5