Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mkosi/
Date: Mon, 29 Nov 2021 15:42:03
Message-Id: 1638200516.90bcb1fdec53af57cc4bfeb67975c633b7f9cf4e.flow@gentoo
1 commit: 90bcb1fdec53af57cc4bfeb67975c633b7f9cf4e
2 Author: Paymon MARNADI <darwinskernel <AT> gmail <DOT> com>
3 AuthorDate: Wed Oct 6 17:49:45 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 15:41:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90bcb1fd
7
8 app-admin/mkosi: add mkosi
9
10 ... in anticipation of the PR for gentoo support [upstream-pr] getting closer to being
11 merged.
12
13 [upstream-pr] https://github.com/systemd/mkosi/pull/717
14
15 Signed-off-by: Paymon MARANDI <darwinskernel <AT> gmail.com>
16 Closes: https://github.com/gentoo/gentoo/pull/22509
17 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
18
19 app-admin/mkosi/Manifest | 1 +
20 app-admin/mkosi/metadata.xml | 12 ++++++++++++
21 app-admin/mkosi/mkosi-11.ebuild | 27 +++++++++++++++++++++++++++
22 3 files changed, 40 insertions(+)
23
24 diff --git a/app-admin/mkosi/Manifest b/app-admin/mkosi/Manifest
25 new file mode 100644
26 index 000000000000..24196fede00d
27 --- /dev/null
28 +++ b/app-admin/mkosi/Manifest
29 @@ -0,0 +1 @@
30 +DIST mkosi-11.tar.gz 165064 BLAKE2B 19a140fa355dff946dfd46369ccdcce369d97e5ef5c8a0917f21d1f5876c302e54b1e8e509d3cfa54d72a2b4d5b1d97abe74ff2232e3a8ca84005358ed6a99fa SHA512 c07b092e38e663100cfa00ce58c2b61d306292f69429835915310f9736e11ea1431ae2667e8fca02c2a145aa4f21bd199f956d2882913474c4cee394bb15a8f2
31
32 diff --git a/app-admin/mkosi/metadata.xml b/app-admin/mkosi/metadata.xml
33 new file mode 100644
34 index 000000000000..88b16f016f27
35 --- /dev/null
36 +++ b/app-admin/mkosi/metadata.xml
37 @@ -0,0 +1,12 @@
38 +<?xml version="1.0" encoding="UTF-8"?>
39 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
40 +<pkgmetadata>
41 + <maintainer type="person" proxied="yes">
42 + <email>darwinskernel@×××××.com</email>
43 + <name>Paymon MARANDI</name>
44 + </maintainer>
45 + <maintainer type="project" proxied="proxy">
46 + <email>proxy-maint@g.o</email>
47 + <name>Proxy Maintainers</name>
48 + </maintainer>
49 +</pkgmetadata>
50
51 diff --git a/app-admin/mkosi/mkosi-11.ebuild b/app-admin/mkosi/mkosi-11.ebuild
52 new file mode 100644
53 index 000000000000..2c90bec35ee1
54 --- /dev/null
55 +++ b/app-admin/mkosi/mkosi-11.ebuild
56 @@ -0,0 +1,27 @@
57 +# Copyright 2021 Gentoo Authors
58 +# Distributed under the terms of the GNU General Public License v2
59 +
60 +EAPI=8
61 +
62 +PYTHON_COMPAT=( python3_{8..10} )
63 +
64 +inherit distutils-r1 optfeature
65 +
66 +DESCRIPTION="Build Bespoke OS Images"
67 +HOMEPAGE="https://github.com/systemd/mkosi"
68 +SRC_URI="https://github.com/systemd/mkosi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
69 +
70 +LICENSE="GPL-2+"
71 +SLOT="0"
72 +KEYWORDS="~amd64"
73 +RDEPEND="
74 + sys-apps/portage
75 + sys-apps/systemd
76 + dev-vcs/git
77 +"
78 +
79 +distutils_enable_tests pytest
80 +
81 +pkg_postinst() {
82 + optfeature "For debian support: " dev-util/debootstrap
83 +}