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 E2F6D1582EF for ; Sat, 15 Feb 2025 09:29:52 +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 8A12B343091 for ; Sat, 15 Feb 2025 09:29:52 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 58A6411047D; Sat, 15 Feb 2025 09:29:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5273611047D for ; Sat, 15 Feb 2025 09:29:30 +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 09A73343088 for ; Sat, 15 Feb 2025 09:29:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3F532726 for ; Sat, 15 Feb 2025 09:29:27 +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: <1739611598.b7a467cb6dc22fc856db010ba60fd26936a2ec98.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/intel-undervolt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-power/intel-undervolt/intel-undervolt-1.7-r1.ebuild X-VCS-Directories: sys-power/intel-undervolt/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: b7a467cb6dc22fc856db010ba60fd26936a2ec98 X-VCS-Branch: master Date: Sat, 15 Feb 2025 09:29:27 +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: d6cebfc4-9bc1-4ca1-b4dd-54e7e9eceb30 X-Archives-Hash: 07ee0384d2b8fcbc51fa67b0b523c767 commit: b7a467cb6dc22fc856db010ba60fd26936a2ec98 Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:12:15 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 15 09:26:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7a467cb sys-power/intel-undervolt: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> sys-power/intel-undervolt/intel-undervolt-1.7-r1.ebuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/sys-power/intel-undervolt/intel-undervolt-1.7-r1.ebuild b/sys-power/intel-undervolt/intel-undervolt-1.7-r1.ebuild index 6390ac5c14d9..46f5c056910d 100644 --- a/sys-power/intel-undervolt/intel-undervolt-1.7-r1.ebuild +++ b/sys-power/intel-undervolt/intel-undervolt-1.7-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit linux-info systemd toolchain-funcs +inherit eapi9-ver linux-info systemd toolchain-funcs DESCRIPTION="Intel CPU undervolting and throttling configuration tool" HOMEPAGE="https://github.com/kitsunyan/intel-undervolt" @@ -53,10 +53,8 @@ src_compile() { } pkg_postinst() { - for v in ${REPLACING_VERSIONS}; do - if [[ ${v} == 1.6 ]] ; then - elog "openrc service has been renamed to intel-undervolt-loop" - elog "please update your startup configuration" - fi - done + if ver_replacing -eq 1.6 ; then + elog "openrc service has been renamed to intel-undervolt-loop" + elog "please update your startup configuration" + fi }