From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7C1D158170 for ; Sun, 21 Jul 2024 17:42:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6FBAE2B21; Sun, 21 Jul 2024 17:42:46 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8914E2B21 for ; Sun, 21 Jul 2024 17:42:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0224343068 for ; Sun, 21 Jul 2024 17:42:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64B281E5D for ; Sun, 21 Jul 2024 17:42:44 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1721583753.a3335630ed6daddba6dbe9e092500762ab991826.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/ugrd/Manifest sys-kernel/ugrd/ugrd-1.16.0.ebuild X-VCS-Directories: sys-kernel/ugrd/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: a3335630ed6daddba6dbe9e092500762ab991826 X-VCS-Branch: master Date: Sun, 21 Jul 2024 17:42:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 57f95c0e-94b5-4b6e-b87c-0919d508ce2f X-Archives-Hash: 11354ed3e2fe3132ac739e6b6ef776cf commit: a3335630ed6daddba6dbe9e092500762ab991826 Author: Zen pyl onl> AuthorDate: Sun Jul 21 16:19:58 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Jul 21 17:42:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3335630 sys-kernel/ugrd: add 1.16.0 Signed-off-by: Zen pyl.onl> Closes: https://github.com/gentoo/gentoo/pull/37656 Signed-off-by: Andrew Ammerlaan gentoo.org> sys-kernel/ugrd/Manifest | 1 + sys-kernel/ugrd/ugrd-1.16.0.ebuild | 48 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest index e22e79815035..0027fa4f19c1 100644 --- a/sys-kernel/ugrd/Manifest +++ b/sys-kernel/ugrd/Manifest @@ -1 +1,2 @@ DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6 +DIST ugrd-1.16.0.tar.gz 66050 BLAKE2B 50417d15a50f3e6da2609d61f4a88f4bafe76d02f82ce4a8f8b152e311a68543956c30487a7caee769c8da2a266d9266377a798b6577f4b3d54164acb55f20fc SHA512 ac67a5164c2d239a5994bfde972bf82fe9f63bfc339ad263256e9889826ff71df224a8d003b0db2e2900d862dbd2a07c11c1b99fe12f94e52a8c5cd65ef302e5 diff --git a/sys-kernel/ugrd/ugrd-1.16.0.ebuild b/sys-kernel/ugrd/ugrd-1.16.0.ebuild new file mode 100644 index 000000000000..2259e96649a2 --- /dev/null +++ b/sys-kernel/ugrd/ugrd-1.16.0.ebuild @@ -0,0 +1,48 @@ +# 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 shell-completion + +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 ~arm64" + +RDEPEND=" + app-misc/pax-utils + >=dev-python/zenlib-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pycpio-1.2.1[${PYTHON_USEDEP}] + sys-apps/pciutils +" + +python_install_all() { + # Call the distutils-r1_python_install_all function + distutils-r1_python_install_all + # Install the example config into /etc/ugrd/config.toml + # Do not overwrite an existing config + insinto /etc/ugrd + newins examples/example.toml config.toml + + # Install the kernel preinst.d hook + exeinto /usr/lib/kernel/preinst.d + doexe hooks/installkernel/52-ugrd.install + exeinto /usr/lib/kernel/install.d + doexe hooks/kernel-install/52-ugrd.install + + dobashcomp completion/ugrd # Install bash autocomplete script + dozshcomp completion/_ugrd # Install zsh autocomplete script +} + +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 + optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm] +}