summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-0.3.15.9999.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-22 03:04:36 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-22 03:04:36 -0500
commit63ccd2e4ddd6295605ea83ff6f5e2337785496e5 (patch)
treec2e8b95c36b14703e41de0de4fe7cb686ee24eea /dev-lang/python/python-0.3.15.9999.ebuild
parent805088e14f2164ec415b97288657da8492869f97 (diff)
downloadbaldeagleos-repo-63ccd2e4ddd6295605ea83ff6f5e2337785496e5.tar.gz
baldeagleos-repo-63ccd2e4ddd6295605ea83ff6f5e2337785496e5.tar.xz
baldeagleos-repo-63ccd2e4ddd6295605ea83ff6f5e2337785496e5.zip
Adding metadata
Diffstat (limited to 'dev-lang/python/python-0.3.15.9999.ebuild')
-rw-r--r--dev-lang/python/python-0.3.15.9999.ebuild17
1 files changed, 16 insertions, 1 deletions
diff --git a/dev-lang/python/python-0.3.15.9999.ebuild b/dev-lang/python/python-0.3.15.9999.ebuild
index 3010dec22a1e..1517731db952 100644
--- a/dev-lang/python/python-0.3.15.9999.ebuild
+++ b/dev-lang/python/python-0.3.15.9999.ebuild
@@ -115,6 +115,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() {
@@ -595,7 +610,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:"