sys-power/upower: Fix incorrect REPLACING_VERSIONS usage

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
Ulrich Müller
2025-02-14 17:16:54 +01:00
parent 03175b6247
commit dcbca13b9d

View File

@@ -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."