From 169ad220ed2dfdd93e087817b3046d9ab1fd4a35 Mon Sep 17 00:00:00 2001 From: Zen Date: Sun, 12 May 2024 22:26:20 -0500 Subject: [PATCH] sys-kernel/ugrd: Removed 0.22.0 added 1.5.0 Signed-off-by: Zen --- .../{ugrd-0.22.0.ebuild => ugrd-1.5.0.ebuild} | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) rename sys-kernel/ugrd/{ugrd-0.22.0.ebuild => ugrd-1.5.0.ebuild} (71%) diff --git a/sys-kernel/ugrd/ugrd-0.22.0.ebuild b/sys-kernel/ugrd/ugrd-1.5.0.ebuild similarity index 71% rename from sys-kernel/ugrd/ugrd-0.22.0.ebuild rename to sys-kernel/ugrd/ugrd-1.5.0.ebuild index 6c369fa202..58b58a6380 100644 --- a/sys-kernel/ugrd/ugrd-0.22.0.ebuild +++ b/sys-kernel/ugrd/ugrd-1.5.0.ebuild @@ -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() {