From ab2b717e3c52948d51bf1ebb9c9c3a720532ddf7 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Tue, 25 Feb 2025 12:34:39 +0100 Subject: [PATCH] sys-apps/man-pages: Sync with Gentoo It's from Gentoo commit 4b42f0ce3fe4d848c4033fa7e5839068bccb2057. --- .../sys-apps/man-pages/man-pages-6.10.ebuild | 17 ++++++++--------- .../sys-apps/man-pages/man-pages-9999.ebuild | 19 +++++++++---------- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/man-pages/man-pages-6.10.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/man-pages/man-pages-6.10.ebuild index eeb536cb1d..9a787b0cbe 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/man-pages/man-pages-6.10.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/man-pages/man-pages-6.10.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit eapi9-ver + # Maintenance notes: # - Upstream are very friendly, do approach them if have any questions; # @@ -133,13 +135,10 @@ src_install() { } pkg_postinst() { - for ver in ${REPLACING_VERSIONS} ; do - if ver_test ${ver} -lt 5.13-r2 ; then - # Avoid ACCEPT_LICENSE issues for users by default - # bug #871636 - ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!" - ewarn "Please install sys-apps/man-pages-posix yourself if needed." - break - fi - done + if ver_replacing -lt 5.13-r2 ; then + # Avoid ACCEPT_LICENSE issues for users by default + # bug #871636 + ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!" + ewarn "Please install sys-apps/man-pages-posix yourself if needed." + fi } diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/man-pages/man-pages-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/man-pages/man-pages-9999.ebuild index 3650f5532a..2e025b4606 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/man-pages/man-pages-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/man-pages/man-pages-9999.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit eapi9-ver + # Maintenance notes: # - Upstream are very friendly, do approach them if have any questions; # @@ -133,13 +135,10 @@ src_install() { } pkg_postinst() { - for ver in ${REPLACING_VERSIONS} ; do - if ver_test ${ver} -lt 5.13-r2 ; then - # Avoid ACCEPT_LICENSE issues for users by default - # bug #871636 - ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!" - ewarn "Please install sys-apps/man-pages-posix yourself if needed." - break - fi - done + if ver_replacing -lt 5.13-r2 ; then + # Avoid ACCEPT_LICENSE issues for users by default + # bug #871636 + ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!" + ewarn "Please install sys-apps/man-pages-posix yourself if needed." + fi }