From 63ccd2e4ddd6295605ea83ff6f5e2337785496e5 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 22 Jul 2026 03:04:36 -0500 Subject: Adding metadata --- dev-lang/python/python-0.3.15.0_beta4.ebuild | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'dev-lang/python/python-0.3.15.0_beta4.ebuild') diff --git a/dev-lang/python/python-0.3.15.0_beta4.ebuild b/dev-lang/python/python-0.3.15.0_beta4.ebuild index fee7b327b686..3557e1c25f09 100644 --- a/dev-lang/python/python-0.3.15.0_beta4.ebuild +++ b/dev-lang/python/python-0.3.15.0_beta4.ebuild @@ -13,7 +13,7 @@ REAL_PV=${PV#0.} MY_PV=${REAL_PV/_beta/b} MY_P="Python-${MY_PV%_p*}" PYVER="$(ver_cut 2-3)t" -PATCHSET="python-gentoo-patches-${MY_PV}" +PATCHSET="python-gentoo-patches-${MY_PV}_p1" DESCRIPTION="Freethreading (no-GIL) version of Python programming language" HOMEPAGE=" @@ -127,6 +127,21 @@ pkg_pretend() { ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless" ewarn "you can reproduce the problem with dev-lang/python. Instead," ewarn "please consider reporting freethreading problems upstream." + + if [[ ${MERGE_TYPE} != buildonly ]] && ver_replacing -lt 0.3.15.0_beta4; then + ewarn + ewarn "Python 3.15.0b4 has broken its extension ABI. The extensions built" + ewarn "with older versions may crash at runtime or worse after upgrading." + ewarn "A rebuild is recommended after the merge is complete, e.g. using:" + ewarn + ewarn " emerge -1v \$(find /usr/lib/python3.15t/site-packages -name '*.cpython-315t-*.so')" + ewarn + ewarn "Note that if you enabled both python3_15 and python3_15t, then" + ewarn "the 3.15 rebuild should cover all 3.15t packages as well." + ewarn "If you do not wish to perform the rebuild at the time, it is" + ewarn "recommended to abort the upgrade." + ewarn + fi } pkg_setup() { @@ -609,7 +624,7 @@ src_install() { } pkg_postinst() { - if ver_replacing -lt 3.15.0_beta4; then + if ver_replacing -lt 0.3.15.0_beta4; then ewarn "Python 3.15.0b4 has broken its extension ABI. The extensions built" ewarn "with older versions may crash at runtime or worse. To prevent this," ewarn "please rebuild all extensions using the versoned ABI, e.g. using:" -- cgit v1.3