sys-apps/man-pages: Sync with Gentoo

It's from Gentoo commit 4b42f0ce3fe4d848c4033fa7e5839068bccb2057.
This commit is contained in:
Flatcar Buildbot 2025-02-25 12:34:39 +01:00 committed by Krzesimir Nowak
parent 114acca8ae
commit ab2b717e3c
2 changed files with 17 additions and 19 deletions

View File

@ -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
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."
break
fi
done
}

View File

@ -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
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."
break
fi
done
}