commit:     a95ac2edad9de334e491c31ce2fe2a14b9f54456
Author:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 12:13:03 2024 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 12:13:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a95ac2ed

app-emulation/virt-firmware: add 24.11

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

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

diff --git a/app-emulation/virt-firmware/Manifest 
b/app-emulation/virt-firmware/Manifest
index 6b3b4e5e76c5..5835244615d8 100644
--- a/app-emulation/virt-firmware/Manifest
+++ b/app-emulation/virt-firmware/Manifest
@@ -1,2 +1,3 @@
 DIST virt-firmware-24.4.tar.gz 111964 BLAKE2B 
16005a6f911abf227988abaedd45237d44d403f367abd3c2d413f899a6c3e7db2a62edcd36b7408263f101a0f0a20bbea83bf51f7f798077311b478dfc6c9fc1
 SHA512 
3b13df25177fe5c20e460e2d82453e23ae96cb657f1228ff1c061db4c4197eba719a4d7f51a90fec60a4de2da9a0e9d3f056d53011bd4f61df7f40b706911a1d
+DIST virt_firmware-24.11.tar.gz 115385 BLAKE2B 
2edfe718fd60dcd8a13b143f9fcf5f6beb604737ef4855cb0f16376e625f5bf2965bb08b7ddd037a6b8b6420c928abceefe1034135ab66763695fa8c359786b5
 SHA512 
0c6b4d34d518835b4489404c784b263cd6ac8348834ba654d27ae3741d3d229ea5f6036870399390fa4fa33e01c8113d64faba0c6068e4b2fb5bbdd9429bf72f
 DIST virt_firmware-24.7.tar.gz 114229 BLAKE2B 
a5b6bf39a72ce68622bbc4f75505633b92c322e4a02ab0384bb3b618abfbeeb19cfb057b5333ae53042732b131dcaa475c2c920922c920b0d0c21ef4185ad5b9
 SHA512 
1cd209b500e0ec1a5b8284b72b499bd16e998fd9489db6c8f8e3b49befb6186c5c09c95b2761254696b479daff1afaf2bdccb6ca7e115b11eb9a5df847f43628

diff --git a/app-emulation/virt-firmware/virt-firmware-24.11.ebuild 
b/app-emulation/virt-firmware/virt-firmware-24.11.ebuild
new file mode 100644
index 000000000000..33bca1b06d18
--- /dev/null
+++ b/app-emulation/virt-firmware/virt-firmware-24.11.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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 ~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