From eaf8cc8df96ce90212f9ff9f209722e34b7c22ee Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 29 Apr 2025 01:25:11 +0100 Subject: [PATCH] sys-power/acpilight: EAPI 8, py3.13, cleanup a bit * EAPI 8 * Add Python 3.13 * Cleanup a bit (variable order, unnecessary comment, style of deps) Closes: https://bugs.gentoo.org/952747 Tested-by: Greg Kubaryk # python Signed-off-by: Sam James --- ...-1.2-r4.ebuild => acpilight-1.2-r5.ebuild} | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) rename sys-power/acpilight/{acpilight-1.2-r4.ebuild => acpilight-1.2-r5.ebuild} (89%) diff --git a/sys-power/acpilight/acpilight-1.2-r4.ebuild b/sys-power/acpilight/acpilight-1.2-r5.ebuild similarity index 89% rename from sys-power/acpilight/acpilight-1.2-r4.ebuild rename to sys-power/acpilight/acpilight-1.2-r5.ebuild index b5feb4e703c69..6b4368d133dbf 100644 --- a/sys-power/acpilight/acpilight-1.2-r4.ebuild +++ b/sys-power/acpilight/acpilight-1.2-r5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit python-single-r1 udev @@ -17,13 +17,16 @@ S="${WORKDIR}/${MY_P}" LICENSE="GPL-3+" SLOT="0" KEYWORDS="amd64 x86" - -RDEPEND="virtual/udev - acct-group/video - !dev-libs/light - ${PYTHON_DEPS} - !x11-apps/xbacklight" REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + !dev-libs/light + !x11-apps/xbacklight + acct-group/video + virtual/udev +" + DOCS=( README.rst NEWS.rst ) PATCHES=( "${FILESDIR}/acpilight-1.2-fix-log10-of-zero.patch" ) @@ -42,7 +45,6 @@ src_install() { pkg_postinst() { udev_reload - einfo elog "To use the xbacklight binary as a regular user, you must be a part of the video group" einfo elog "If this utility does not find any backlights to manipulate," @@ -56,6 +58,5 @@ pkg_postinst() { } pkg_postrm() { - # Triggers a QA warning if missing udev_reload }