sys-kernel/ugrd: Removed 0.22.0 added 1.5.0

Signed-off-by: Zen <z@pyl.onl>
This commit is contained in:
Zen 2024-05-12 22:26:20 -05:00
parent 74f833d14e
commit 169ad220ed
No known key found for this signature in database
GPG Key ID: 8004005FBF6C9DED

View File

@ -1,11 +1,11 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023-2024 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
inherit distutils-r1 optfeature shell-completion
DESCRIPTION="Python based initramfs generator with TOML defintions"
HOMEPAGE="https://github.com/desultory/ugrd"
@ -15,10 +15,12 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="app-misc/pax-utils"
DEPEND=">=dev-python/zenlib-1.7.2[${PYTHON_USEDEP}]
>=dev-python/pycpio-0.9.0[${PYTHON_USEDEP}]
sys-apps/pciutils"
RDEPEND="
app-misc/pax-utils
>=dev-python/zenlib-2.1.1[${PYTHON_USEDEP}]
>=dev-python/pycpio-1.1.1[${PYTHON_USEDEP}]
sys-apps/pciutils
"
src_install() {
# Call the distutils-r1_src_install function to install the package
@ -33,7 +35,12 @@ src_install() {
# Install the kernel preinst.d hook
keepdir /etc/kernel/preinst.d
exeinto /etc/kernel/preinst.d
doexe hooks/51-ugrd.install
doexe hooks/installkernel/51-ugrd.install
exeinto /lib/kernel/install.d
doexe hooks/kernel-install/51-ugrd.install
# Install bash autocomplete script
dobashcomp completion/ugrd
dozshcomp completion/_ugrd
}
pkg_postinst() {