# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # XXX: the tarball here is just the kernel modules split out of the binary # package that comes from VirtualBox-*.run # XXX: update: now it is split from virtualbox-*-Debian~bullseye_amd64.deb EAPI=8 PYTHON_COMPAT=( python3_12 ) inherit distutils-r1 git-r3 DESCRIPTION="A wrapper around the standard Linux filesystem calls to make using the cpusets facilities in the Linux kernel easier" HOMEPAGE="https://github.com/SUSE/cpuset" EGIT_REPO_URI="https://github.com/SUSE/cpuset.git" SLOT="0" LICENSE="GPL-3" src_install() { distutils-r1_src_install # Manually fix shebang post-installation sed -i -e '1s|^#!.*|#!/usr/bin/python3.12|' "${ED}/usr/bin/cset" || die }