app-emulation/virt-firmware: add 26.5.4

Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
Nowa Ammerlaan
2026-05-22 21:58:51 +02:00
parent b99cdcdcd3
commit adc2a82170
2 changed files with 66 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST virt_firmware-25.10.tar.gz 137685 BLAKE2B d1ab74eae907048549e2129aa256597752c5219110606bd623e0e6f0b90f88dd38226d8b7a992fe05ef49ab8c4ddf3a917184051715ebd6224cdbda4303754a5 SHA512 2fdf609f0ba335d6064cb595c5e4b465b0a148f258f87292f0b82d1aa653f5bfd1f9b851d36f1c46a94fb8be36d6cd6c5c3f5d633e86d34b8f6159186f872908
DIST virt_firmware-25.12.tar.gz 143352 BLAKE2B f456a444e529ed7abf9fbba4491b56b1b1f76bf9c9d76c3a82e1c3a716b88c952bd494330680a4b21576a792a516e69b74203126dc4bac688e083185f1589924 SHA512 faa2f8abd0f8f633f2c620a2b7fd6ff91809e2a546b01088154e48d5151426f5b7b6134de0325664028419fe50376214b575f9da25095d2522edb814024ff8dc
DIST virt_firmware-26.2.tar.gz 143457 BLAKE2B fd0b977539af0cde4059e67e86ddf97c6dcffc3f7b1cf5975d181dd51b698334c8b22b2c6a951da2e39327a0dd43b44d03a05d0ff56be6defb4a48f872ac4e80 SHA512 6e7fa94009da095e15880b6be850b130ea3097394572c01fe0404b6d4bc11117b9ae730ca43408cb02b5ae9dc2671ef5635520dd2c8776bb2b6b68c8246d06c7
DIST virt_firmware-26.5.4.tar.gz 151249 BLAKE2B 05724cb57e33ef4d30cf987bdc7cf71b49be0b32437b27cec5fb43d39fe9fd0456f104da3ecac05e251f8249a974f18286f162f041247de2267436c993864be9 SHA512 5a61d4cf9e4aa025a12eab17f5f61ada197a7fc5c18d1ecdf0a6282d26cec8d261112a88ea24fbcdfd4ef69421667225ad8df1645cd30a1c1c374c8475e5c532

View File

@@ -0,0 +1,65 @@
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 optfeature pypi systemd
DESCRIPTION="Tools for ovmf/armvirt firmware volumes"
HOMEPAGE="
https://gitlab.com/kraxel/virt-firmware
https://pypi.org/project/virt-firmware/
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/pefile[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
"
# Need systemd-detect-virt
BDEPEND="
test? (
sys-apps/systemd
)
"
distutils_enable_tests unittest
python_prepare_all() {
# Requires crypt module removed in py3.13
rm virt/qemutest/cloudinit.py || die
sed -e '/from virt.qemutest.cloudinit import CloudInitISO/d' \
-i tests/tests.py || die
distutils-r1_python_prepare_all
}
python_test() {
eunittest tests
}
python_install_all() {
distutils-r1_python_install_all
doman man/*.1
doinitd "${FILESDIR}/kernel-bootcfg-boot-successful"
systemd_dounit systemd/kernel-bootcfg-boot-successful.service
# Use our own provided by sys-kernel/installkernel[efistub,systemd]
#exeinto /usr/lib/kernel/install.d
#doexe systemd/99-uki-uefi-setup.install
}
pkg_postinst() {
optfeature "automatically updating UEFI configuration on each kernel installation or removal" \
"sys-kernel/installkernel[systemd,efistub]"
}