commit:     169ad220ed2dfdd93e087817b3046d9ab1fd4a35
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Mon May 13 03:26:20 2024 +0000
Commit:     George Zenner <dev <AT> pyl <DOT> onl>
CommitDate: Mon May 13 03:26:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=169ad220

sys-kernel/ugrd: Removed 0.22.0 added 1.5.0

Signed-off-by: Zen <z <AT> pyl.onl>

 .../ugrd/{ugrd-0.22.0.ebuild => ugrd-1.5.0.ebuild}  | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

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() {

Reply via email to