commit:     0916f79fd177e8c3a10dcece4f5413daf421efda
Author:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 10:27:15 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Sun May 18 10:27:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0916f79f

app-emulation/virt-firmware: add 25.4.1

Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 app-emulation/virt-firmware/Manifest               |  1 +
 .../virt-firmware/virt-firmware-25.4.1.ebuild      | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/app-emulation/virt-firmware/Manifest 
b/app-emulation/virt-firmware/Manifest
index f7f1465d836c..37fbbbd812b6 100644
--- a/app-emulation/virt-firmware/Manifest
+++ b/app-emulation/virt-firmware/Manifest
@@ -1,2 +1,3 @@
 DIST virt_firmware-24.11.tar.gz 115385 BLAKE2B 
2edfe718fd60dcd8a13b143f9fcf5f6beb604737ef4855cb0f16376e625f5bf2965bb08b7ddd037a6b8b6420c928abceefe1034135ab66763695fa8c359786b5
 SHA512 
0c6b4d34d518835b4489404c784b263cd6ac8348834ba654d27ae3741d3d229ea5f6036870399390fa4fa33e01c8113d64faba0c6068e4b2fb5bbdd9429bf72f
 DIST virt_firmware-24.7.tar.gz 114229 BLAKE2B 
a5b6bf39a72ce68622bbc4f75505633b92c322e4a02ab0384bb3b618abfbeeb19cfb057b5333ae53042732b131dcaa475c2c920922c920b0d0c21ef4185ad5b9
 SHA512 
1cd209b500e0ec1a5b8284b72b499bd16e998fd9489db6c8f8e3b49befb6186c5c09c95b2761254696b479daff1afaf2bdccb6ca7e115b11eb9a5df847f43628
+DIST virt_firmware-25.4.1.tar.gz 120061 BLAKE2B 
ef22266944cae225cf817c9b67a7aae5ee95908be419b870f451f6eba391998be082b1cf8f2dad62ed84551323cb56854b785a93d0c0ff83340fdb9a5f571aeb
 SHA512 
2f82299415a0bf5dd8874764fe7d71cfe9a12e489657237f6a889288294e69fed9076219ae91a2d60084ae1ffac6bc4f3e2760999e8030aad045cb59ea152367

diff --git a/app-emulation/virt-firmware/virt-firmware-25.4.1.ebuild 
b/app-emulation/virt-firmware/virt-firmware-25.4.1.ebuild
new file mode 100644
index 000000000000..d4f936ad8809
--- /dev/null
+++ b/app-emulation/virt-firmware/virt-firmware-25.4.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+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}]
+"
+
+# Need systemd-detect-virt
+BDEPEND="
+       test? (
+               sys-apps/systemd
+       )
+"
+
+distutils_enable_tests unittest
+
+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]"
+}

Reply via email to