summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-0.3.15.9999.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-0.3.15.9999.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-0.3.15.9999.ebuild')
-rw-r--r--dev-lang/python/python-0.3.15.9999.ebuild15
1 files changed, 14 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 5b7c3bfc80df..3010dec22a1e 100644
--- a/dev-lang/python/python-0.3.15.9999.ebuild
+++ b/dev-lang/python/python-0.3.15.9999.ebuild
@@ -5,7 +5,7 @@ EAPI="8"
WANT_LIBTOOL="none"
-inherit autotools check-reqs flag-o-matic git-r3 linux-info
+inherit autotools check-reqs eapi9-ver flag-o-matic git-r3 linux-info
inherit multiprocessing pax-utils toolchain-funcs
PYVER="$(ver_cut 2-3)t"
@@ -593,3 +593,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.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 already."
+ fi
+}