summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-3.15.0_beta4.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-20 03:04:47 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-20 03:04:47 -0500
commit72e61757ad18b354c7e086543f02375857946e03 (patch)
treed2abee5f70f8543cd23b06c84ec78283aa83b49e /dev-lang/python/python-3.15.0_beta4.ebuild
parent2b878031702361370da8f648ac080b3fe38f34d3 (diff)
downloadbaldeagleos-repo-72e61757ad18b354c7e086543f02375857946e03.tar.gz
baldeagleos-repo-72e61757ad18b354c7e086543f02375857946e03.tar.xz
baldeagleos-repo-72e61757ad18b354c7e086543f02375857946e03.zip
Adding metadata
Diffstat (limited to 'dev-lang/python/python-3.15.0_beta4.ebuild')
-rw-r--r--dev-lang/python/python-3.15.0_beta4.ebuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/dev-lang/python/python-3.15.0_beta4.ebuild b/dev-lang/python/python-3.15.0_beta4.ebuild
index 6bcc8fb580d1..241a0dce66b2 100644
--- a/dev-lang/python/python-3.15.0_beta4.ebuild
+++ b/dev-lang/python/python-3.15.0_beta4.ebuild
@@ -8,7 +8,7 @@ LLVM_OPTIONAL=1
VERIFY_SIG_METHOD=sigstore
WANT_LIBTOOL="none"
-inherit autotools check-reqs flag-o-matic linux-info llvm-r2
+inherit autotools check-reqs eapi9-ver flag-o-matic linux-info llvm-r2
inherit multiprocessing pax-utils toolchain-funcs verify-sig
MY_PV=${PV/_beta/b}
@@ -612,3 +612,16 @@ src_install() {
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
}
+
+pkg_postinst() {
+ if ver_replacing -lt 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:"
+ ewarn
+ ewarn " emerge -1v \$(find /usr/lib/python3.15/site-packages -name '*.cpython-315-*.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 already."
+ fi
+}