From 4f2401f964cebd477bcc8a8b828459508f3521da Mon Sep 17 00:00:00 2001 From: fabolous005 Date: Sun, 23 Mar 2025 11:07:18 +0100 Subject: [PATCH] Couple of ebuilds --- sys-process/cpuset/cpuset-9999.ebuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sys-process/cpuset/cpuset-9999.ebuild diff --git a/sys-process/cpuset/cpuset-9999.ebuild b/sys-process/cpuset/cpuset-9999.ebuild new file mode 100644 index 0000000..cccf037 --- /dev/null +++ b/sys-process/cpuset/cpuset-9999.ebuild @@ -0,0 +1,26 @@ +# 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 +}