Сравнение throttled-0.11 с throttled-0.12.2

/usr/portage/sys-power/throttled/throttled-0.12.2.ebuild 2026-08-20 20:03:04.852013089 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
DISTUTILS_USE_PEP517=setuptools
6 7
PYTHON_COMPAT=( python3_{11..14} )
7
inherit linux-info python-single-r1 systemd
8
inherit distutils-r1 linux-info systemd
8 9

  
9 10
DESCRIPTION="Daemon to work around throttling issues on some Intel laptops"
10 11
HOMEPAGE="https://github.com/erpalma/throttled"
11
SRC_URI="https://github.com/erpalma/throttled/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
12
SRC_URI="https://github.com/erpalma/throttled/releases/download/v${PV}/${P}.tar.gz"
12 13

  
13 14
LICENSE="MIT"
14 15
SLOT="0"
15 16
KEYWORDS="~amd64"
16
IUSE="test"
17
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
18
RESTRICT="!test? ( test )"
19 17

  
20 18
CONFIG_CHECK="~X86_MSR ~DEVMEM"
21 19

  
20
# sys-power/upower: dependency via dbus
22 21
RDEPEND="
23
	${PYTHON_DEPS}
24
	$(python_gen_cond_dep '
25
		dev-python/dbus-python[${PYTHON_USEDEP}]
26
		dev-python/pygobject[${PYTHON_USEDEP}]
27
	')
22
	dev-python/dbus-next[${PYTHON_USEDEP}]
28 23
	sys-apps/pciutils
29
	test? ( dev-python/pytest-import-check )
24
	sys-power/upower
30 25
"
31 26

  
32
pkg_setup() {
33
	linux-info_pkg_setup
34
	python-single-r1_pkg_setup
35
}
36

  
37
src_test() {
38
	epytest -p no:python --import-check mmio.py throttled.py
39
}
40

  
41 27
src_install() {
42
	default
43
	python_newscript throttled.py throttled
44
	python_domodule mmio.py
28
	distutils-r1_src_install
45 29
	newinitd "${FILESDIR}/throttled.initd" throttled
46 30
	systemd_dounit "${FILESDIR}/throttled.service"
47 31
	insinto /etc
48 32
	doins etc/throttled.conf
49 33
}
34

  
35
EPYTEST_IGNORE=(
36
	# not relevant downstream
37
	tests/test_build_deb.py
38
	tests/test_packaging.py
39
)
40
EPYTEST_PLUGINS=()
41
distutils_enable_tests pytest
Спасибо!