Add zen-util and zen-logging to split zenlib. Update packages which use

zenlib to use more split libraries

Signed-off-by: Zen <z@pyl.onl>
This commit is contained in:
Zen
2023-12-31 16:41:46 -06:00
parent 75cddc79d0
commit fb2744d800
10 changed files with 91 additions and 9 deletions

View File

@@ -1,2 +1,3 @@
DIST ugrd-0.12.1.tar.gz 39929 BLAKE2B d4d2788c0d23907b87ea6c98607f3d36e25c895618668123089c2cb96dc8895be411c7c5865522b58a53a90c51e77f874ee13324c5602bceb325bb680dccf63b SHA512 3dec60f8535bb63525a0da07583d35c539de27e0d4ab2c79c033ce49a1b745b262a245e58224f5fabb1450af76d750578e47d60eb0961ac842eaed6e5f212c7d
DIST ugrd-0.19.1.tar.gz 44713 BLAKE2B e22d8c6df5cffb6c903badf6b45f693a319215791d2fae6d45e163a1a191823130b4a1bdb541a20760154796e16f5e6e0bb10ce47f4d5c59279a71f37bc53362 SHA512 56383aca3bd52a734ae35ae51aec0aa12d849484466d58832324dc441fed3e955085119ba44d3248948033167e163be5d747fa27c71c999e78e7fa6357853e25
DIST ugrd-0.19.2.tar.gz 44628 BLAKE2B e9020f65a6cc51ea7ad205d16cd6360eb74bf21b82a0f0df1f33a89eb39b0a4dcaba7b6c9f4c61124e6ae947d2c93062219081c0ebfb398327abbf1b099dbc7d SHA512 4e1ebaf4d361d7f0cf75679e7857ef3fe4a3aaf78a5ed2117547ea32c90773645337f0604f23f13c33f248cb55cabfaaf4a2dad1e234822eb3967bafe103fca9

View File

@@ -0,0 +1,44 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1 optfeature
DESCRIPTION="Python based initramfs generator with TOML defintions"
HOMEPAGE="https://github.com/desultory/ugrd"
SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="app-misc/pax-utils"
DEPEND=">=dev-python/zen-logging-1.1.0
>=dev-python/zen-util-1.0.1
>=dev-python/pycpio-0.7.3
sys-apps/pciutils"
src_install() {
# Call the distutils-r1_src_install function to install the package
distutils-r1_src_install
# Create the ugrd config directory
keepdir /etc/ugrd
# Install the example config into /etc/ugrd/config.toml
# Do not overwrite an existing config
insinto /etc/ugrd
newins examples/example.toml config.toml
# Create the kernel preinst.d directory if it doesn't exist
# Install the kernel preinst.d hook
keepdir /etc/kernel/preinst.d
exeinto /etc/kernel/preinst.d
doexe hooks/51-ugrd.install
}
pkg_postinst() {
optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup
optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs
optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
}