From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1719251-garchives=archives.gentoo.org@lists.gentoo.org>
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 1FE6A1582EF
	for <garchives@archives.gentoo.org>; Tue, 18 Feb 2025 20:50:08 +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 01E56340813
	for <garchives@archives.gentoo.org>; Tue, 18 Feb 2025 20:50:08 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id D93FE110470;
	Tue, 18 Feb 2025 20:50:06 +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) server-digest SHA256)
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id CB697110470
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 20:50:06 +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 789CC340813
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 20:50:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CE60D1236
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 20:50:04 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
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" <ulm@gentoo.org>
Message-ID: <1739911737.dcbca13b9d8d8733c50d0eaec614f98e160d2da6.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/upower/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-power/upower/upower-1.90.4-r1.ebuild
X-VCS-Directories: sys-power/upower/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: dcbca13b9d8d8733c50d0eaec614f98e160d2da6
X-VCS-Branch: master
Date: Tue, 18 Feb 2025 20:50:04 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b87aecbd-b758-4316-89d5-9be43e141586
X-Archives-Hash: 42ef89022be7ca537cc6a819a6a5e094

commit:     dcbca13b9d8d8733c50d0eaec614f98e160d2da6
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 16:16:54 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 20:48:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcbca13b

sys-power/upower: Fix incorrect REPLACING_VERSIONS usage

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 sys-power/upower/upower-1.90.4-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-power/upower/upower-1.90.4-r1.ebuild b/sys-power/upower/upower-1.90.4-r1.ebuild
index 27df80f7b519..c7585b1cacc0 100644
--- a/sys-power/upower/upower-1.90.4-r1.ebuild
+++ b/sys-power/upower/upower-1.90.4-r1.ebuild
@@ -1,10 +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
 
 PYTHON_COMPAT=( python3_{10..12} )
-inherit meson python-any-r1 systemd udev xdg-utils
+inherit eapi9-ver meson python-any-r1 systemd udev xdg-utils
 
 DESCRIPTION="D-Bus abstraction for enumerating power devices, querying history and statistics"
 HOMEPAGE="https://upower.freedesktop.org/"
@@ -99,7 +99,7 @@ src_install() {
 pkg_postinst() {
 	udev_reload
 
-	if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 0.99.12; then
+	if ver_replacing -lt 0.99.12; then
 		elog "Support for Logitech Unifying Receiver battery state readout was"
 		elog "removed in version 0.99.12, these devices have been directly"
 		elog "supported by the Linux kernel since version >=3.2."