sys-kernel/scx-loader: minor style fixes

Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus 2025-11-21 22:09:56 +01:00
parent 1bdf41d5f9
commit 9df4e94f7c
No known key found for this signature in database
GPG Key ID: 2239A7E8F5852052

View File

@ -1,10 +1,9 @@
# Copyright 2025 Gentoo Authors # Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.15.0
EAPI=8 EAPI=8
RUST_MIN_VER="1.88"
CRATES=" CRATES="
anstream@0.6.21 anstream@0.6.21
anstyle-parse@0.2.7 anstyle-parse@0.2.7
@ -175,14 +174,13 @@ CRATES="
zvariant_utils@3.2.1 zvariant_utils@3.2.1
" "
RUST_MIN_VER="1.88"
inherit cargo systemd inherit cargo systemd
DESCRIPTION="DBUS on-demand loader of sched-ext schedulers" DESCRIPTION="DBUS on-demand loader of sched-ext schedulers"
HOMEPAGE="https://github.com/sched-ext/scx-loader" HOMEPAGE="https://github.com/sched-ext/scx-loader"
SRC_URI=" SRC_URI="
https://github.com/sched-ext/scx-loader/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz https://github.com/sched-ext/scx-loader/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
${CARGO_CRATE_URIS} ${CARGO_CRATE_URIS}
" "
@ -191,8 +189,6 @@ LICENSE="GPL-2"
LICENSE+=" MIT MPL-2.0 Unicode-3.0" LICENSE+=" MIT MPL-2.0 Unicode-3.0"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
# no tests
RESTRICT="test"
RDEPEND="~sys-kernel/scx-${PV}" RDEPEND="~sys-kernel/scx-${PV}"
@ -209,17 +205,21 @@ src_install() {
cargo_src_install --path crates/scx_loader cargo_src_install --path crates/scx_loader
cargo_src_install --path crates/scxctl cargo_src_install --path crates/scxctl
newinitd "${FILESDIR}/scx_loader.initd" scx_loader newinitd "${FILESDIR}"/scx_loader.initd scx_loader
systemd_dounit services/scx_loader.service systemd_dounit services/scx_loader.service
insinto /usr/share/dbus-1/system/ insinto /usr/share/dbus-1/system/
doins services/org.scx.Loader.service doins services/org.scx.Loader.service
insinto /usr/share/dbus-1/system.d/ insinto /usr/share/dbus-1/system.d/
doins configs/org.scx.Loader.conf doins configs/org.scx.Loader.conf
insinto /usr/share/dbus-1/interfaces/ insinto /usr/share/dbus-1/interfaces/
doins configs/org.scx.Loader.xml doins configs/org.scx.Loader.xml
insinto /usr/share/polkit-1/actions/ insinto /usr/share/polkit-1/actions/
doins configs/org.scx.Loader.policy doins configs/org.scx.Loader.policy
insinto /etc/scx_loader/ insinto /etc/scx_loader/
newins configs/scx_loader.toml config.toml newins configs/scx_loader.toml config.toml
} }