commit:     4f67cf7a3016f652c8283985ceaaa79116861e32
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 16:16:34 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 09:26:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f67cf7a

app-editors/tea: Fix incorrect REPLACING_VERSIONS usage

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-editors/tea/tea-62.4.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-editors/tea/tea-62.4.0-r1.ebuild 
b/app-editors/tea/tea-62.4.0-r1.ebuild
index 673249d95bf6..ac4d11d3f4cb 100644
--- a/app-editors/tea/tea-62.4.0-r1.ebuild
+++ b/app-editors/tea/tea-62.4.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake xdg
+inherit cmake eapi9-ver xdg
 
 MY_P="tea-qt-${PV}"
 
@@ -66,7 +66,7 @@ src_configure() {
 pkg_postinst() {
        xdg_pkg_postinst
 
-       if [[ "${REPLACING_VERSIONS}" == "47.0.0" ]]; then
+       if ver_replacing -eq 47.0.0; then
                elog "Executable 'tea' has been renamed to 'tea-qt'"
        fi
 }

Reply via email to