commit:     71ff238a68e496e6ee757dc90a153d24825cd6c6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 16 14:44:34 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 14:44:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ff238a

dev-lang/python: Remove stale postinst and sync 3.14.0_alpha1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-lang/python/python-3.14.0_alpha1.ebuild | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/dev-lang/python/python-3.14.0_alpha1.ebuild 
b/dev-lang/python/python-3.14.0_alpha1.ebuild
index 36b659486f5f..5f5a6519a178 100644
--- a/dev-lang/python/python-3.14.0_alpha1.ebuild
+++ b/dev-lang/python/python-3.14.0_alpha1.ebuild
@@ -112,7 +112,7 @@ VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth
 # large file tests involve a 2.5G file being copied (duplicated)
 CHECKREQS_DISK_BUILD=5500M
 
-QA_PKGCONFIG_VERSION=${PYVER}
+QA_PKGCONFIG_VERSION=${PYVER%t}
 # false positives -- functions specific to *BSD
 QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags )
 
@@ -650,19 +650,3 @@ src_install() {
                ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die
        fi
 }
-
-pkg_postinst() {
-       local v
-       for v in ${REPLACING_VERSIONS}; do
-               if ver_test "${v}" -lt 3.13.0_beta2; then
-                       ewarn "Python 3.13.0b2 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.13 modules, e.g. using:"
-                       ewarn
-                       ewarn "  emerge -1v /usr/lib/python3.13/site-packages"
-               fi
-       done
-}

Reply via email to