sys-power/throttled - 0.12.2 (gentoo)

Search

Install

Install this version:

emerge -a =sys-power/throttled-0.12.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-power/throttled-0.12.2

Or alternatively:

emerge --autounmask-write -a =sys-power/throttled-0.12.2

Package Information

Description:
Daemon to work around throttling issues on some Intel laptops
Homepage:
https://github.com/erpalma/throttled
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.12.2 8 ~amd64 0
View Raw Ebuild
# 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

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/dbus-next[]
	sys-apps/pciutils
	sys-power/upower

Manifest for 0.12.2

Type File Size Source URLs
DIST throttled-0.12.2.tar.gz 48699 bytes https://github.com/erpalma/throttled/releases/download/v0.12.2/throttled-0.12.2.tar.gz