commit: 2165b0aa79d0e3dddf1edf38044480543fa5884b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 28 08:31:08 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 28 08:31:08 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2165b0aa
dev-lang/python: Remove old ABI warning from 3.11.12_p1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-lang/python/python-3.11.12_p1.ebuild | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/dev-lang/python/python-3.11.12_p1.ebuild
b/dev-lang/python/python-3.11.12_p1.ebuild
index 3ecaccb54647..611b07bddd83 100644
--- a/dev-lang/python/python-3.11.12_p1.ebuild
+++ b/dev-lang/python/python-3.11.12_p1.ebuild
@@ -4,7 +4,7 @@
EAPI="8"
WANT_LIBTOOL="none"
-inherit autotools check-reqs eapi9-ver flag-o-matic multiprocessing pax-utils
+inherit autotools check-reqs flag-o-matic multiprocessing pax-utils
inherit prefix python-utils-r1 toolchain-funcs verify-sig
MY_PV=${PV/_rc/rc}
@@ -615,16 +615,3 @@ src_install() {
ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die
fi
}
-
-pkg_postinst() {
- if ver_replacing -lt 3.11.0_beta4-r2; then
- ewarn "Python 3.11.0b4 has changed its module ABI. The .pyc
files"
- ewarn "installed previously are no longer valid and will be
regenerated"
- ewarn "(or ignored) on the next import. This may cause sandbox
failures"
- ewarn "when installing some packages and checksum mismatches
when removing"
- ewarn "old versions. To actively prevent this, rebuild all
packages"
- ewarn "installing Python 3.11 modules, e.g. using:"
- ewarn
- ewarn " emerge -1v /usr/lib/python3.11/site-packages"
- fi
-}