app-admin/mkosi: add mkosi

... in anticipation of the PR for gentoo support [upstream-pr] getting closer to being
merged.

[upstream-pr] https://github.com/systemd/mkosi/pull/717

Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22509
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Paymon MARNADI
2021-10-06 13:49:45 -04:00
committed by Florian Schmaus
parent 001295b681
commit 90bcb1fdec
3 changed files with 40 additions and 0 deletions

1
app-admin/mkosi/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST mkosi-11.tar.gz 165064 BLAKE2B 19a140fa355dff946dfd46369ccdcce369d97e5ef5c8a0917f21d1f5876c302e54b1e8e509d3cfa54d72a2b4d5b1d97abe74ff2232e3a8ca84005358ed6a99fa SHA512 c07b092e38e663100cfa00ce58c2b61d306292f69429835915310f9736e11ea1431ae2667e8fca02c2a145aa4f21bd199f956d2882913474c4cee394bb15a8f2

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>darwinskernel@gmail.com</email>
<name>Paymon MARANDI</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,27 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
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="
sys-apps/portage
sys-apps/systemd
dev-vcs/git
"
distutils_enable_tests pytest
pkg_postinst() {
optfeature "For debian support: " dev-util/debootstrap
}