commit: 40ce878ddf25cd1a374b3004442b83a49b22f641 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Feb 14 14:11:55 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Feb 17 09:25:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ce878d
sys-apps/busybox: Port to ver_replacing Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> sys-apps/busybox/busybox-1.36.1-r3.ebuild | 12 +++++------- sys-apps/busybox/busybox-9999.ebuild | 12 +++++------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/sys-apps/busybox/busybox-1.36.1-r3.ebuild b/sys-apps/busybox/busybox-1.36.1-r3.ebuild index 0787af842957..fb80d0d9abb6 100644 --- a/sys-apps/busybox/busybox-1.36.1-r3.ebuild +++ b/sys-apps/busybox/busybox-1.36.1-r3.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # See `man savedconfig.eclass` for info on how to use USE=savedconfig. EAPI=8 -inherit flag-o-matic readme.gentoo-r1 savedconfig toolchain-funcs +inherit eapi9-ver flag-o-matic readme.gentoo-r1 savedconfig toolchain-funcs DESCRIPTION="Utilities for rescue and embedded systems" HOMEPAGE="https://www.busybox.net/" @@ -379,11 +379,9 @@ pkg_postinst() { fi if [[ ${MERGE_TYPE} != binary ]] && ! is-flagq -Oz; then - for v in ${REPLACING_VERSIONS}; do - if ver_test ${v} -le 1.36.1; then - FORCE_PRINT_ELOG=yes - fi - done + if ver_replacing -le 1.36.1; then + FORCE_PRINT_ELOG=yes + fi readme.gentoo_print_elog fi diff --git a/sys-apps/busybox/busybox-9999.ebuild b/sys-apps/busybox/busybox-9999.ebuild index f03c46d222e8..a66117143343 100644 --- a/sys-apps/busybox/busybox-9999.ebuild +++ b/sys-apps/busybox/busybox-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # See `man savedconfig.eclass` for info on how to use USE=savedconfig. EAPI=8 -inherit flag-o-matic readme.gentoo-r1 savedconfig toolchain-funcs +inherit eapi9-ver flag-o-matic readme.gentoo-r1 savedconfig toolchain-funcs DESCRIPTION="Utilities for rescue and embedded systems" HOMEPAGE="https://www.busybox.net/" @@ -377,11 +377,9 @@ pkg_postinst() { fi if [[ ${MERGE_TYPE} != binary ]] && ! is-flagq -Oz; then - for v in ${REPLACING_VERSIONS}; do - if ver_test ${v} -le 1.36.1; then - FORCE_PRINT_ELOG=yes - fi - done + if ver_replacing -le 1.36.1; then + FORCE_PRINT_ELOG=yes + fi readme.gentoo_print_elog fi
