commit: 51234b81d7c9af45c3aa07a601bc34965f393214
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 1 08:57:33 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Oct 1 08:57:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51234b81
app-admin/mkosi: add 17.1
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
app-admin/mkosi/Manifest | 1 +
app-admin/mkosi/mkosi-17.1.ebuild | 41 +++++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/app-admin/mkosi/Manifest b/app-admin/mkosi/Manifest
index 033979cc38cc..cb5de898dac6 100644
--- a/app-admin/mkosi/Manifest
+++ b/app-admin/mkosi/Manifest
@@ -1 +1,2 @@
DIST mkosi-15.1.tar.gz 120606 BLAKE2B
36171c08c18dd3ba3c2e54c8a3374fad2a9b008f8253e6cd57cedf7b7e8216b6610b30f9f46aa634de62ebf257d1e8eff94a83b07c027708e4875e24bc0a8305
SHA512
3b65c6b964aa2bde12117b7b2c3e4be0ac72036a92a115f1e93e7be0b3b0aa0bd3adb753ee49865723a9bc677bc4492416caafff4fec3ffd942de78357c11608
+DIST mkosi-17.1.tar.gz 133505 BLAKE2B
96824568dd53cd83a1f8b95072c750e1a0bbd06356df19c62ea9799a5d8f1b2e55f108a3ec3cf171f5dfdefcc1ac5bc86785a60d80def38a5e1817b91f1d9486
SHA512
59988a6a81c0456df6fa9673032d1e25c5cc382b45fd0299c974559d573279c4c38f5600b4e14a71ecdaa013d9b97b90cc815b3b601a7dd061924519cd8b76bf
diff --git a/app-admin/mkosi/mkosi-17.1.ebuild
b/app-admin/mkosi/mkosi-17.1.ebuild
new file mode 100644
index 000000000000..16874bb99315
--- /dev/null
+++ b/app-admin/mkosi/mkosi-17.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Build Bespoke OS Images"
+HOMEPAGE="https://github.com/systemd/mkosi"
+SRC_URI="https://github.com/systemd/mkosi/archive/refs/tags/v${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+RDEPEND="
+ app-emulation/qemu
+ sys-apps/bubblewrap
+ sys-apps/systemd
+ sys-firmware/edk2-ovmf"
+BDEPEND="virtual/pandoc"
+
+distutils_enable_tests pytest
+
+src_compile() {
+ distutils-r1_src_compile
+
+ ./tools/make-man-page.sh || die
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ doman mkosi/resources/mkosi.1
+}
+
+pkg_postinst() {
+ optfeature "For debian support: " dev-util/debootstrap
+}