From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7D1B51582EF for ; Sat, 22 Feb 2025 09:39:18 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6A15034322E for ; Sat, 22 Feb 2025 09:39:18 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E7C8C110480; Sat, 22 Feb 2025 09:38:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D65FB11047F for ; Sat, 22 Feb 2025 09:38:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91E9D343220 for ; Sat, 22 Feb 2025 09:38:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44E2F27E0 for ; Sat, 22 Feb 2025 09:38:48 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1740217099.4b42f0ce3fe4d848c4033fa7e5839068bccb2057.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/man-pages/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/man-pages/man-pages-6.10.ebuild sys-apps/man-pages/man-pages-9999.ebuild X-VCS-Directories: sys-apps/man-pages/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 4b42f0ce3fe4d848c4033fa7e5839068bccb2057 X-VCS-Branch: master Date: Sat, 22 Feb 2025 09:38:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bf64b086-11c8-4ecb-ae90-3da0afc1e448 X-Archives-Hash: e92f8268a65cc8fecc044946a7cda3f2 commit: 4b42f0ce3fe4d848c4033fa7e5839068bccb2057 Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:11:58 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 22 09:38:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b42f0ce sys-apps/man-pages: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> 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/sys-apps/man-pages/man-pages-6.10.ebuild b/sys-apps/man-pages/man-pages-6.10.ebuild index eeb536cb1d03..9a787b0cbe0d 100644 --- a/sys-apps/man-pages/man-pages-6.10.ebuild +++ b/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/sys-apps/man-pages/man-pages-9999.ebuild b/sys-apps/man-pages/man-pages-9999.ebuild index 3650f5532a8d..2e025b4606bf 100644 --- a/sys-apps/man-pages/man-pages-9999.ebuild +++ b/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 }