repo/gentoo:master commit in: sys-power/throttled/

"Yixun Lan" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1787091849.7cee1e2833b545b2ee10de8fd937420c074dab32.dlan@gentoo>
commit:     7cee1e2833b545b2ee10de8fd937420c074dab32
Author:     Violet Purcell <vi <AT> vimproved <DOT> dev>
AuthorDate: Tue Jul 28 17:56:33 2026 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Aug 18 22:24:09 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cee1e28

sys-power/throttled: add 0.12.2

Upstream has moved to using setuptools for a real python wheel, and we
can wire up tests now as well.

Merges: https://codeberg.org/gentoo/gentoo/pulls/1556
Signed-off-by: Violet Purcell <vi <AT> vimproved.dev>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-power/throttled/Manifest                |  1 +
 sys-power/throttled/throttled-0.12.2.ebuild | 41 +++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/sys-power/throttled/Manifest b/sys-power/throttled/Manifest
index 52cb7762dbc7..f4a3d3d18894 100644
--- a/sys-power/throttled/Manifest
+++ b/sys-power/throttled/Manifest
@@ -1,2 +1,3 @@
 DIST throttled-0.11.gh.tar.gz 22195 BLAKE2B d45b8fe04c92dfd2903c1777a3d2bd017cfa4d4f740fa7f7dfc384b4ca902552b386f3e92112dcc57bd6b25644c9bf63a987f9ad4d7c81d3bcfa0a445c1cedfa SHA512 f60ce27d17abd6ddd7db6b77a80ac80e129fba24bbc2d21608d1cc8ed2b0131dac2f53d3fea07ac24f994850146e553c6d4c7fc0dedffee109a1aa6df8684c7a
+DIST throttled-0.12.2.tar.gz 48699 BLAKE2B 221e6eff6705487f4265675ea8fcc6c51ea4edd6d0d4abb10a668e7506f5061dfd65d7c2520fcf9274daa786a8a672f66029facb77d8cc089a6f5964acd472d2 SHA512 be3523fdf87ea01981285f4f95b004f701485363b0e7f12551982b1285b02932e3a0043722c10d5fd3ebbdfc9e27d1da9b79d6a3965d900d8b6e54567df87002
 DIST throttled-0.12.gh.tar.gz 32901 BLAKE2B 2adef7966b051f4a9e0573908f982e9f0e5d8fa0e974e0fabd821242228b44b81bc1a189eec210ac91d0ddef34b20c9954abac7ed65de3c4d60f3b1f43f68f80 SHA512 cb080beaa58f9f5ccbffa8a76af9c31acc8f84486e17aac47cd47faf0406df85c8f8595aa5310016c6c0c3f300e45d4692a9de0d721011dec1bc8a661fddca50

diff --git a/sys-power/throttled/throttled-0.12.2.ebuild b/sys-power/throttled/throttled-0.12.2.ebuild
new file mode 100644
index 000000000000..b6506b2dbe78
--- /dev/null
+++ b/sys-power/throttled/throttled-0.12.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+inherit distutils-r1 linux-info systemd
+
+DESCRIPTION="Daemon to work around throttling issues on some Intel laptops"
+HOMEPAGE="https://github.com/erpalma/throttled"
+SRC_URI="https://github.com/erpalma/throttled/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+CONFIG_CHECK="~X86_MSR ~DEVMEM"
+
+# sys-power/upower: dependency via dbus
+RDEPEND="
+	dev-python/dbus-next[${PYTHON_USEDEP}]
+	sys-apps/pciutils
+	sys-power/upower
+"
+
+src_install() {
+	distutils-r1_src_install
+	newinitd "${FILESDIR}/throttled.initd" throttled
+	systemd_dounit "${FILESDIR}/throttled.service"
+	insinto /etc
+	doins etc/throttled.conf
+}
+
+EPYTEST_IGNORE=(
+	# not relevant downstream
+	tests/test_build_deb.py
+	tests/test_packaging.py
+)
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.