public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/acpilight/
Date: Tue, 29 Apr 2025 00:26:12 +0000 (UTC)	[thread overview]
Message-ID: <1745886354.eaf8cc8df96ce90212f9ff9f209722e34b7c22ee.sam@gentoo> (raw)

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
 }


             reply	other threads:[~2025-04-29  0:26 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-29  0:26 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-05  7:18 [gentoo-commits] repo/gentoo:master commit in: sys-power/acpilight/ Joonas Niilola
2024-06-03  2:50 Sam James
2023-01-23 20:06 Matthew Thode
2022-06-21 12:55 Brian Evans
2022-06-09  7:39 Agostino Sarubbo
2022-06-09  7:34 Agostino Sarubbo
2022-02-02 20:43 Brian Evans
2022-01-24 20:37 Brian Evans
2021-08-28 20:08 Aaron Bauman
2021-06-01  6:59 Agostino Sarubbo
2021-06-01  6:32 Agostino Sarubbo
2021-02-17 18:58 Brian Evans
2020-12-02 16:28 Mikle Kolyada
2020-09-01 16:16 Brian Evans
2020-09-01 16:16 Brian Evans
2020-02-11 19:50 Agostino Sarubbo
2020-02-11 19:43 Agostino Sarubbo
2019-07-29 17:43 Brian Evans
2019-07-29 17:40 Brian Evans
2019-07-29 17:40 Brian Evans
2018-06-24 12:50 Jason Zaman
2018-06-23 20:10 Brian Evans
2018-06-23 20:10 Brian Evans
2017-04-26  7:40 Agostino Sarubbo
2017-02-23 21:25 Brian Evans
2017-02-17  0:00 Brian Evans
2016-11-15 20:06 Brian Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1745886354.eaf8cc8df96ce90212f9ff9f209722e34b7c22ee.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox