commit: eaf8cc8df96ce90212f9ff9f209722e34b7c22ee Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Apr 29 00:25:11 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Apr 29 00:25:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf8cc8d
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 <greg.kubaryk <AT> gmail.com> # python Signed-off-by: Sam James <sam <AT> gentoo.org> ...ilight-1.2-r4.ebuild => acpilight-1.2-r5.ebuild} | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) 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 b5feb4e703c6..6b4368d133db 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" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RDEPEND="virtual/udev - acct-group/video - !dev-libs/light +RDEPEND=" ${PYTHON_DEPS} - !x11-apps/xbacklight" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" + !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 }
