Install this version:
emerge -a =sys-power/throttled-0.12
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-power/throttled-0.12
Or alternatively:
emerge --autounmask-write -a =sys-power/throttled-0.12
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.12 | 8 | ~amd64 | 0 |
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
inherit linux-info python-single-r1 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/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
CONFIG_CHECK="~X86_MSR ~DEVMEM"
RDEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/dbus-next[${PYTHON_USEDEP}]
')
sys-apps/pciutils
test? ( dev-python/pytest-import-check )
"
pkg_setup() {
linux-info_pkg_setup
python-single-r1_pkg_setup
}
src_test() {
epytest -p no:python --import-check mmio.py throttled.py
}
src_install() {
default
python_newscript throttled.py throttled
python_domodule mmio.py
newinitd "${FILESDIR}/throttled.initd" throttled
systemd_dounit "${FILESDIR}/throttled.service"
insinto /etc
doins etc/throttled.conf
}
Manage flags for this package:
euse -i <flag> -p sys-power/throttled |
euse -E <flag> -p sys-power/throttled |
euse -D <flag> -p sys-power/throttled
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/dbus-next[${PYTHON_USEDEP}]
')
sys-apps/pciutils
test? ( dev-python/pytest-import-check )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | throttled-0.12.gh.tar.gz | 32901 bytes | https://github.com/erpalma/throttled/archive/refs/tags/v0.12.tar.gz |