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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E23771582EF for ; Mon, 17 Feb 2025 07:20:25 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C7ECB342FE5 for ; Mon, 17 Feb 2025 07:20:25 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C6B611103A8; Mon, 17 Feb 2025 07:20:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BC1F21103A8 for ; Mon, 17 Feb 2025 07:20:24 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 69B87342FE5 for ; Mon, 17 Feb 2025 07:20:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C109D2637 for ; Mon, 17 Feb 2025 07:20:22 +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: <1739776777.5539a65bc1a8af2cbf3f5930c102cdbf9d0f6eec.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/elogind/elogind-255.5-r2.ebuild X-VCS-Directories: sys-auth/elogind/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 5539a65bc1a8af2cbf3f5930c102cdbf9d0f6eec X-VCS-Branch: master Date: Mon, 17 Feb 2025 07:20:22 +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: 4a490a2a-cda3-400f-af93-a2af0dc5856d X-Archives-Hash: 42b94a828a75a76b6ce9aee1db5e4c54 commit: 5539a65bc1a8af2cbf3f5930c102cdbf9d0f6eec Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:12:04 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Feb 17 07:19:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5539a65b sys-auth/elogind: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> sys-auth/elogind/elogind-255.5-r2.ebuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/sys-auth/elogind/elogind-255.5-r2.ebuild b/sys-auth/elogind/elogind-255.5-r2.ebuild index 3b2e117604ce..5931ccdd58ae 100644 --- a/sys-auth/elogind/elogind-255.5-r2.ebuild +++ b/sys-auth/elogind/elogind-255.5-r2.ebuild @@ -14,7 +14,7 @@ else KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi -inherit linux-info meson pam python-any-r1 udev xdg-utils +inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils DESCRIPTION="The systemd project's logind, extracted to a standalone package" HOMEPAGE="https://github.com/elogind/elogind" @@ -172,13 +172,11 @@ pkg_postinst() { fi fi - for version in ${REPLACING_VERSIONS}; do - if ver_test "${version}" -lt 252.9; then - elog "Starting with release 252.9 the sleep configuration is now done" - elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep" - elog "configuration remember to migrate those to new configuration file." - fi - done + if ver_replacing -lt 252.9; then + elog "Starting with release 252.9 the sleep configuration is now done" + elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep" + elog "configuration remember to migrate those to new configuration file." + fi local file files # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)