public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-11-09 10:03 Arthur Zamarin
  0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2024-11-09 10:03 UTC (permalink / raw
  To: gentoo-commits

commit:     3fc1d171028ded4efc2e152c5433f429b2a44afa
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 10:03:29 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 10:03:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fc1d171

sys-kernel/ugrd: Stabilize 1.24.2 amd64, #942998

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-1.24.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-kernel/ugrd/ugrd-1.24.2.ebuild b/sys-kernel/ugrd/ugrd-1.24.2.ebuild
index 69cd323e9fee..789839aa07b4 100644
--- a/sys-kernel/ugrd/ugrd-1.24.2.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.24.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm64"
+KEYWORDS="amd64 arm64"
 RESTRICT="test"
 PROPERTIES="test_privileged"
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-11-20  9:37 Nowa Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Nowa Ammerlaan @ 2024-11-20  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     a8a0b918c16690b366835ffa30f67af9e4ebfd63
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Tue Nov 19 16:54:57 2024 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Wed Nov 20 09:36:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a0b918

sys-kernel/ugrd: Add 1.28.2

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/39374
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/ugrd-1.28.2.ebuild | 73 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index cc05e7cf6896..960cabdfe194 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -7,3 +7,4 @@ DIST ugrd-1.25.0.tar.gz 70221 BLAKE2B 7f3403dd4c5b6131c61c92679d447df6ef49e6dc6d
 DIST ugrd-1.26.0.tar.gz 73284 BLAKE2B b96785a408b6a631d6708bf2bd6d570c95b0ba4a7d7bea297f36674d4625f16472256b8470578ff2b973ed162e9c0465a24937d38aead4da19d9085e220c8d1f SHA512 4b2309c53d5d28741974cdfe2f5a58b939afb523f8ba8f30e10b70bd1d0ed44aa925d64a3fcd60ff46d46df6c79250ca21cd1a712ef9e9f77af4512f9ff3874d
 DIST ugrd-1.27.1.tar.gz 76097 BLAKE2B ee43a5f97c2a32ce218871c11bbc1aec1c5d9edf669cc54fc8a677e177354231575f513e5bb0bb75afb9642b206d0601174b919fa9084a5305410573cf5e0205 SHA512 f6aa122a0a9778ac813197cdba1c433c6b1cbdd767eec45ccc56f264b6559f2beb56f4603592efed40f503526ef482f488dc6421be58e76d68f386f54dc5841e
 DIST ugrd-1.27.2.tar.gz 76119 BLAKE2B 7a97f0189f1b39f0a1264c4ac9fbc8dc15f6bf93639db8c232dd6d7f488a98cac422b71d1214e9583491b6fd59064358419a39af14ac9e3c9b1e5f0573c1ec50 SHA512 6b079b31c286771619fbf6306bfbab8685e7b92e06c04fc9139c9bd1ade861816df15174b7e72109215ba941cf73b0514749650a8f0b2ff27c40b4d0d51ed48f
+DIST ugrd-1.28.2.tar.gz 79970 BLAKE2B 545d9a21e3fa5dbee3a29adad5f3df4f4c60c363866277520d0783c0e578d762301c94b0791b5a21b47ef8172cf9658ae47c43a5b696d311a76fea6649f80d17 SHA512 7598cf15869f3e8aca681fd1d8f239da66b84252978152559fa154d43ae06a1edab2cbee0b7fbaf8a48abc40e9b96c769534c95fed4e040e2f9ae7ab90694a6d

diff --git a/sys-kernel/ugrd/ugrd-1.28.2.ebuild b/sys-kernel/ugrd/ugrd-1.28.2.ebuild
new file mode 100644
index 000000000000..21ddb7fb455a
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.28.2.ebuild
@@ -0,0 +1,73 @@
+# 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..13} )
+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"
+RESTRICT="test"
+PROPERTIES="test_privileged"
+
+RDEPEND="
+	app-misc/pax-utils
+	>=dev-python/zenlib-2.3.2[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.4.0[${PYTHON_USEDEP}]
+	sys-apps/pciutils
+"
+
+BDEPEND="
+	test? (
+		sys-fs/btrfs-progs
+		sys-fs/xfsprogs
+		sys-fs/cryptsetup
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
+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]
+	optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
+	optfeature "ugrd.base.plymouth support" sys-boot/plymouth
+}
+
+distutils_enable_tests unittest
+
+src_test() {
+	addwrite /dev/kvm
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-11-20  9:37 Nowa Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Nowa Ammerlaan @ 2024-11-20  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     7c21fae34cd5f53f857a368c12fb8e23129338ec
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Tue Nov 19 16:53:50 2024 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Wed Nov 20 09:36:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c21fae3

sys-kernel/ugrd: Add 1.27.2 with backported fix

Signed-off-by: Zen <z <AT> pyl.onl>
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/ugrd-1.27.2.ebuild | 73 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 349827af56d1..cc05e7cf6896 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -6,3 +6,4 @@ DIST ugrd-1.24.2.tar.gz 68762 BLAKE2B 2def2144381f66ac79d5c2246f49cacdde3aafd3ee
 DIST ugrd-1.25.0.tar.gz 70221 BLAKE2B 7f3403dd4c5b6131c61c92679d447df6ef49e6dc6d7f17cef67b90d5d2c06087417fc0700a42be41e73749b127e11df807a93c14e91a50827e6043214ca6990c SHA512 6e4b74ee6d4cf38f76063cb5a15a2b853422a6a9ee25887830dbc158e61b1ea2a25dd36522d3e8642eb05ba875baa03ce18db1d66407f0ea55a4261cdd6df5da
 DIST ugrd-1.26.0.tar.gz 73284 BLAKE2B b96785a408b6a631d6708bf2bd6d570c95b0ba4a7d7bea297f36674d4625f16472256b8470578ff2b973ed162e9c0465a24937d38aead4da19d9085e220c8d1f SHA512 4b2309c53d5d28741974cdfe2f5a58b939afb523f8ba8f30e10b70bd1d0ed44aa925d64a3fcd60ff46d46df6c79250ca21cd1a712ef9e9f77af4512f9ff3874d
 DIST ugrd-1.27.1.tar.gz 76097 BLAKE2B ee43a5f97c2a32ce218871c11bbc1aec1c5d9edf669cc54fc8a677e177354231575f513e5bb0bb75afb9642b206d0601174b919fa9084a5305410573cf5e0205 SHA512 f6aa122a0a9778ac813197cdba1c433c6b1cbdd767eec45ccc56f264b6559f2beb56f4603592efed40f503526ef482f488dc6421be58e76d68f386f54dc5841e
+DIST ugrd-1.27.2.tar.gz 76119 BLAKE2B 7a97f0189f1b39f0a1264c4ac9fbc8dc15f6bf93639db8c232dd6d7f488a98cac422b71d1214e9583491b6fd59064358419a39af14ac9e3c9b1e5f0573c1ec50 SHA512 6b079b31c286771619fbf6306bfbab8685e7b92e06c04fc9139c9bd1ade861816df15174b7e72109215ba941cf73b0514749650a8f0b2ff27c40b4d0d51ed48f

diff --git a/sys-kernel/ugrd/ugrd-1.27.2.ebuild b/sys-kernel/ugrd/ugrd-1.27.2.ebuild
new file mode 100644
index 000000000000..21ddb7fb455a
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.27.2.ebuild
@@ -0,0 +1,73 @@
+# 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..13} )
+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"
+RESTRICT="test"
+PROPERTIES="test_privileged"
+
+RDEPEND="
+	app-misc/pax-utils
+	>=dev-python/zenlib-2.3.2[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.4.0[${PYTHON_USEDEP}]
+	sys-apps/pciutils
+"
+
+BDEPEND="
+	test? (
+		sys-fs/btrfs-progs
+		sys-fs/xfsprogs
+		sys-fs/cryptsetup
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
+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]
+	optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
+	optfeature "ugrd.base.plymouth support" sys-boot/plymouth
+}
+
+distutils_enable_tests unittest
+
+src_test() {
+	addwrite /dev/kvm
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-11-09  9:02 Arthur Zamarin
  0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2024-11-09  9:02 UTC (permalink / raw
  To: gentoo-commits

commit:     ac84e31cd199342b5bf8e74bcd7e7d4ce7df3ed1
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 09:02:01 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 09:02:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac84e31c

sys-kernel/ugrd: Stabilize 1.24.2 arm64, #942998

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-1.24.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-kernel/ugrd/ugrd-1.24.2.ebuild b/sys-kernel/ugrd/ugrd-1.24.2.ebuild
index 0b40f4084bd5..69cd323e9fee 100644
--- a/sys-kernel/ugrd/ugrd-1.24.2.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.24.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="~amd64 arm64"
 RESTRICT="test"
 PROPERTIES="test_privileged"
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-11-01 17:10 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-11-01 17:10 UTC (permalink / raw
  To: gentoo-commits

commit:     3437a62391db80ebec7badf23de90b0cc1ecb7a4
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  8 10:00:38 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 17:03:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3437a623

sys-kernel/ugrd: fix for running the tests

communicate via PROPERTIES and addwrite that we need to run as root
and need write access to /dev/kvm

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-1.22.0.ebuild | 12 +++---------
 sys-kernel/ugrd/ugrd-1.24.2.ebuild | 12 +++---------
 sys-kernel/ugrd/ugrd-1.25.0.ebuild | 12 +++---------
 sys-kernel/ugrd/ugrd-1.26.0.ebuild | 12 +++---------
 sys-kernel/ugrd/ugrd-1.27.1.ebuild | 12 +++---------
 sys-kernel/ugrd/ugrd-9999.ebuild   | 12 +++---------
 6 files changed, 18 insertions(+), 54 deletions(-)

diff --git a/sys-kernel/ugrd/ugrd-1.22.0.ebuild b/sys-kernel/ugrd/ugrd-1.22.0.ebuild
index a38b24dd7d62..89a9cc845740 100644
--- a/sys-kernel/ugrd/ugrd-1.22.0.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.22.0.ebuild
@@ -14,6 +14,8 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 arm64"
+RESTRICT="test"
+PROPERTIES="test_privileged"
 
 RDEPEND="
 	app-misc/pax-utils
@@ -57,15 +59,7 @@ pkg_postinst() {
 distutils_enable_tests unittest
 
 src_test() {
-	if [[ ! -w '/dev/kvm' ]]; then
-		ewarn "Skipping tests: Cannot write to /dev/kvm."
-		return 1
-	fi
-	if [[ ! -r "$(command -v mount)" ]]; then
-		ewarn "Cannot read the mount binary, tests may fail until"
-		ewarn "util-linux is re-emerged without the sfperms feature."
-	fi
-
+	addwrite /dev/kvm
 	distutils-r1_src_test
 }
 

diff --git a/sys-kernel/ugrd/ugrd-1.24.2.ebuild b/sys-kernel/ugrd/ugrd-1.24.2.ebuild
index b8d3f75a0f20..0b40f4084bd5 100644
--- a/sys-kernel/ugrd/ugrd-1.24.2.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.24.2.ebuild
@@ -14,6 +14,8 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
+RESTRICT="test"
+PROPERTIES="test_privileged"
 
 RDEPEND="
 	app-misc/pax-utils
@@ -58,15 +60,7 @@ pkg_postinst() {
 distutils_enable_tests unittest
 
 src_test() {
-	if [[ ! -w '/dev/kvm' ]]; then
-		ewarn "Skipping tests: Cannot write to /dev/kvm."
-		return 1
-	fi
-	if [[ ! -r "$(command -v mount)" ]]; then
-		ewarn "Cannot read the mount binary, tests may fail until"
-		ewarn "util-linux is re-emerged without the sfperms feature."
-	fi
-
+	addwrite /dev/kvm
 	distutils-r1_src_test
 }
 

diff --git a/sys-kernel/ugrd/ugrd-1.25.0.ebuild b/sys-kernel/ugrd/ugrd-1.25.0.ebuild
index e20626ffd48f..61f7ba42490c 100644
--- a/sys-kernel/ugrd/ugrd-1.25.0.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.25.0.ebuild
@@ -14,6 +14,8 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
+RESTRICT="test"
+PROPERTIES="test_privileged"
 
 RDEPEND="
 	app-misc/pax-utils
@@ -59,15 +61,7 @@ pkg_postinst() {
 distutils_enable_tests unittest
 
 src_test() {
-	if [[ ! -w '/dev/kvm' ]]; then
-		ewarn "Skipping tests: Cannot write to /dev/kvm."
-		return 1
-	fi
-	if [[ ! -r "$(command -v mount)" ]]; then
-		ewarn "Cannot read the mount binary, tests may fail until"
-		ewarn "util-linux is re-emerged without the sfperms feature."
-	fi
-
+	addwrite /dev/kvm
 	distutils-r1_src_test
 }
 

diff --git a/sys-kernel/ugrd/ugrd-1.26.0.ebuild b/sys-kernel/ugrd/ugrd-1.26.0.ebuild
index add9d2aec5b3..59dca3e27ae0 100644
--- a/sys-kernel/ugrd/ugrd-1.26.0.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.26.0.ebuild
@@ -14,6 +14,8 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
+RESTRICT="test"
+PROPERTIES="test_privileged"
 
 RDEPEND="
 	app-misc/pax-utils
@@ -59,15 +61,7 @@ pkg_postinst() {
 distutils_enable_tests unittest
 
 src_test() {
-	if [[ ! -w '/dev/kvm' ]]; then
-		ewarn "Skipping tests: Cannot write to /dev/kvm."
-		return 1
-	fi
-	if [[ ! -r "$(command -v mount)" ]]; then
-		ewarn "Cannot read the mount binary, tests may fail until"
-		ewarn "util-linux is re-emerged without the sfperms feature."
-	fi
-
+	addwrite /dev/kvm
 	distutils-r1_src_test
 }
 

diff --git a/sys-kernel/ugrd/ugrd-1.27.1.ebuild b/sys-kernel/ugrd/ugrd-1.27.1.ebuild
index 0f0c38d3e139..21ddb7fb455a 100644
--- a/sys-kernel/ugrd/ugrd-1.27.1.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.27.1.ebuild
@@ -14,6 +14,8 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
+RESTRICT="test"
+PROPERTIES="test_privileged"
 
 RDEPEND="
 	app-misc/pax-utils
@@ -62,15 +64,7 @@ pkg_postinst() {
 distutils_enable_tests unittest
 
 src_test() {
-	if [[ ! -w '/dev/kvm' ]]; then
-		ewarn "Skipping tests: Cannot write to /dev/kvm."
-		return 1
-	fi
-	if [[ ! -r "$(command -v mount)" ]]; then
-		ewarn "Cannot read the mount binary, tests may fail until"
-		ewarn "util-linux is re-emerged without the sfperms feature."
-	fi
-
+	addwrite /dev/kvm
 	distutils-r1_src_test
 }
 

diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild
index 5fe6f7c4da3b..7029a52abb6f 100644
--- a/sys-kernel/ugrd/ugrd-9999.ebuild
+++ b/sys-kernel/ugrd/ugrd-9999.ebuild
@@ -13,6 +13,8 @@ EGIT_REPO_URI="https://github.com/desultory/${PN}"
 
 LICENSE="GPL-2"
 SLOT="0"
+RESTRICT="test"
+PROPERTIES="test_privileged"
 
 RDEPEND="
 	app-misc/pax-utils
@@ -61,15 +63,7 @@ pkg_postinst() {
 distutils_enable_tests unittest
 
 src_test() {
-	if [[ ! -w '/dev/kvm' ]]; then
-		ewarn "Skipping tests: Cannot write to /dev/kvm."
-		return 1
-	fi
-	if [[ ! -r "$(command -v mount)" ]]; then
-		ewarn "Cannot read the mount binary, tests may fail until"
-		ewarn "util-linux is re-emerged without the sfperms feature."
-	fi
-
+	addwrite /dev/kvm
 	distutils-r1_src_test
 }
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-11-01  8:55 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-11-01  8:55 UTC (permalink / raw
  To: gentoo-commits

commit:     d457e2c924fb09658a717bd21eeaf50c9e51c063
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Thu Oct 31 23:27:51 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 08:53:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d457e2c9

sys-kernel/ugrd: add 1.27.1 with more testing and overlayfs support

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/39175
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/ugrd-1.27.1.ebuild | 79 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 89392158b293..349827af56d1 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -5,3 +5,4 @@ DIST ugrd-1.22.0.tar.gz 65955 BLAKE2B 0573364964ce8d874ff126e87e003aeb90d3f6460e
 DIST ugrd-1.24.2.tar.gz 68762 BLAKE2B 2def2144381f66ac79d5c2246f49cacdde3aafd3ee7909cc9bfbfbb31dc554d501b240854452f51e4fd8e66d2af20c7380ee2552eb546f6728d56d59f9a2e9a1 SHA512 d5c756950212509d5a94c8f82b27da2cefdf6b7328f2871a9a56231e8e15d0fde1aea1850066935bdc5c143172fb3b2b09fb9fb131c3f52813d5b609541136d5
 DIST ugrd-1.25.0.tar.gz 70221 BLAKE2B 7f3403dd4c5b6131c61c92679d447df6ef49e6dc6d7f17cef67b90d5d2c06087417fc0700a42be41e73749b127e11df807a93c14e91a50827e6043214ca6990c SHA512 6e4b74ee6d4cf38f76063cb5a15a2b853422a6a9ee25887830dbc158e61b1ea2a25dd36522d3e8642eb05ba875baa03ce18db1d66407f0ea55a4261cdd6df5da
 DIST ugrd-1.26.0.tar.gz 73284 BLAKE2B b96785a408b6a631d6708bf2bd6d570c95b0ba4a7d7bea297f36674d4625f16472256b8470578ff2b973ed162e9c0465a24937d38aead4da19d9085e220c8d1f SHA512 4b2309c53d5d28741974cdfe2f5a58b939afb523f8ba8f30e10b70bd1d0ed44aa925d64a3fcd60ff46d46df6c79250ca21cd1a712ef9e9f77af4512f9ff3874d
+DIST ugrd-1.27.1.tar.gz 76097 BLAKE2B ee43a5f97c2a32ce218871c11bbc1aec1c5d9edf669cc54fc8a677e177354231575f513e5bb0bb75afb9642b206d0601174b919fa9084a5305410573cf5e0205 SHA512 f6aa122a0a9778ac813197cdba1c433c6b1cbdd767eec45ccc56f264b6559f2beb56f4603592efed40f503526ef482f488dc6421be58e76d68f386f54dc5841e

diff --git a/sys-kernel/ugrd/ugrd-1.27.1.ebuild b/sys-kernel/ugrd/ugrd-1.27.1.ebuild
new file mode 100644
index 000000000000..0f0c38d3e139
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.27.1.ebuild
@@ -0,0 +1,79 @@
+# 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..13} )
+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.3.2[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.4.0[${PYTHON_USEDEP}]
+	sys-apps/pciutils
+"
+
+BDEPEND="
+	test? (
+		sys-fs/btrfs-progs
+		sys-fs/xfsprogs
+		sys-fs/cryptsetup
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
+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]
+	optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
+	optfeature "ugrd.base.plymouth support" sys-boot/plymouth
+}
+
+distutils_enable_tests unittest
+
+src_test() {
+	if [[ ! -w '/dev/kvm' ]]; then
+		ewarn "Skipping tests: Cannot write to /dev/kvm."
+		return 1
+	fi
+	if [[ ! -r "$(command -v mount)" ]]; then
+		ewarn "Cannot read the mount binary, tests may fail until"
+		ewarn "util-linux is re-emerged without the sfperms feature."
+	fi
+
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-11-01  8:55 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-11-01  8:55 UTC (permalink / raw
  To: gentoo-commits

commit:     dbe9f3af24f33481e9e30b86638bc6ef106764b6
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Thu Oct 31 23:26:23 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 08:53:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbe9f3af

sys-kernel/ugrd: Add btrfs, xfs, and cryptsetup utils for testing

Signed-off-by: Zen <z <AT> pyl.onl>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-9999.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild
index 06f07ae98c16..5fe6f7c4da3b 100644
--- a/sys-kernel/ugrd/ugrd-9999.ebuild
+++ b/sys-kernel/ugrd/ugrd-9999.ebuild
@@ -23,6 +23,9 @@ RDEPEND="
 
 BDEPEND="
 	test? (
+		sys-fs/btrfs-progs
+		sys-fs/xfsprogs
+		sys-fs/cryptsetup
 		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
 		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
 	)


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-27  8:46 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-10-27  8:46 UTC (permalink / raw
  To: gentoo-commits

commit:     0e27b1b4d6e42c04cf16e4abc29e77ea3d6a065b
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Fri Oct 25 17:34:55 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 08:46:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e27b1b4

sys-kernel/ugrd: Add 1.26.0 with resume support

Signed-off-by: Zen <z <AT> pyl.onl>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/ugrd-1.26.0.ebuild | 76 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index e70d58d03e89..89392158b293 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -4,3 +4,4 @@ DIST ugrd-1.20.0.tar.gz 64541 BLAKE2B d85241e6c0822d3df0d65cc07cb17014b4d6655447
 DIST ugrd-1.22.0.tar.gz 65955 BLAKE2B 0573364964ce8d874ff126e87e003aeb90d3f6460ecaca7aaf5f231fe9069dca9239c0ee9e68157eebaab8651401df0c22695d5a81e2984dbfb89b4a38f5a0aa SHA512 78598f0b0d81a9528b84fd829269b7ce0588830bf95ce5e6455c02053e38a25dd9eecb664057ea6bfed653590c39f73dd3f4a4235e056d27c9c100b166a29996
 DIST ugrd-1.24.2.tar.gz 68762 BLAKE2B 2def2144381f66ac79d5c2246f49cacdde3aafd3ee7909cc9bfbfbb31dc554d501b240854452f51e4fd8e66d2af20c7380ee2552eb546f6728d56d59f9a2e9a1 SHA512 d5c756950212509d5a94c8f82b27da2cefdf6b7328f2871a9a56231e8e15d0fde1aea1850066935bdc5c143172fb3b2b09fb9fb131c3f52813d5b609541136d5
 DIST ugrd-1.25.0.tar.gz 70221 BLAKE2B 7f3403dd4c5b6131c61c92679d447df6ef49e6dc6d7f17cef67b90d5d2c06087417fc0700a42be41e73749b127e11df807a93c14e91a50827e6043214ca6990c SHA512 6e4b74ee6d4cf38f76063cb5a15a2b853422a6a9ee25887830dbc158e61b1ea2a25dd36522d3e8642eb05ba875baa03ce18db1d66407f0ea55a4261cdd6df5da
+DIST ugrd-1.26.0.tar.gz 73284 BLAKE2B b96785a408b6a631d6708bf2bd6d570c95b0ba4a7d7bea297f36674d4625f16472256b8470578ff2b973ed162e9c0465a24937d38aead4da19d9085e220c8d1f SHA512 4b2309c53d5d28741974cdfe2f5a58b939afb523f8ba8f30e10b70bd1d0ed44aa925d64a3fcd60ff46d46df6c79250ca21cd1a712ef9e9f77af4512f9ff3874d

diff --git a/sys-kernel/ugrd/ugrd-1.26.0.ebuild b/sys-kernel/ugrd/ugrd-1.26.0.ebuild
new file mode 100644
index 000000000000..add9d2aec5b3
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.26.0.ebuild
@@ -0,0 +1,76 @@
+# 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..13} )
+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.3.0[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.4.0[${PYTHON_USEDEP}]
+	sys-apps/pciutils
+"
+
+BDEPEND="
+	test? (
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
+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]
+	optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
+	optfeature "ugrd.base.plymouth support" sys-boot/plymouth
+}
+
+distutils_enable_tests unittest
+
+src_test() {
+	if [[ ! -w '/dev/kvm' ]]; then
+		ewarn "Skipping tests: Cannot write to /dev/kvm."
+		return 1
+	fi
+	if [[ ! -r "$(command -v mount)" ]]; then
+		ewarn "Cannot read the mount binary, tests may fail until"
+		ewarn "util-linux is re-emerged without the sfperms feature."
+	fi
+
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-27  8:46 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-10-27  8:46 UTC (permalink / raw
  To: gentoo-commits

commit:     1578abd85a22e8b9fe77f6aff685bff370cf9591
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Fri Oct 25 17:35:17 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 08:46:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1578abd8

sys-kernel/ugrd: Add python 3.13 compat/testing

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/39110
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild
index a1497e8e00c7..06f07ae98c16 100644
--- a/sys-kernel/ugrd/ugrd-9999.ebuild
+++ b/sys-kernel/ugrd/ugrd-9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_{11..13} )
 inherit distutils-r1 git-r3 optfeature shell-completion
 
 DESCRIPTION="Python based initramfs generator with TOML defintions"


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-24  8:42 Arthur Zamarin
  0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2024-10-24  8:42 UTC (permalink / raw
  To: gentoo-commits

commit:     2991484e5f6863df908e483c27cab50ed8594bd2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 08:42:46 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 24 08:42:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2991484e

sys-kernel/ugrd: Stabilize 1.22.0 arm64, #941952

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-1.22.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-kernel/ugrd/ugrd-1.22.0.ebuild b/sys-kernel/ugrd/ugrd-1.22.0.ebuild
index 972bada325a7..a38b24dd7d62 100644
--- a/sys-kernel/ugrd/ugrd-1.22.0.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.22.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="amd64 arm64"
 
 RDEPEND="
 	app-misc/pax-utils


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-23  7:53 Jakov Smolić
  0 siblings, 0 replies; 30+ messages in thread
From: Jakov Smolić @ 2024-10-23  7:53 UTC (permalink / raw
  To: gentoo-commits

commit:     a4f0d4bf38ffde1d3044d5673e43b1a87acd11ff
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 23 07:53:30 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 07:53:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4f0d4bf

sys-kernel/ugrd: Stabilize 1.22.0 amd64, #941952

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-1.22.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-kernel/ugrd/ugrd-1.22.0.ebuild b/sys-kernel/ugrd/ugrd-1.22.0.ebuild
index 6869d9c50265..972bada325a7 100644
--- a/sys-kernel/ugrd/ugrd-1.22.0.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.22.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="amd64 ~arm64"
 
 RDEPEND="
 	app-misc/pax-utils


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-14  7:21 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-10-14  7:21 UTC (permalink / raw
  To: gentoo-commits

commit:     06db059aaab6bfcd827df6db8f5a55faa00535d9
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Sun Oct 13 20:43:04 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 07:20:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06db059a

add plymouth optfeature to 9999

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/38977
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild
index 12d394fa29fe..a1497e8e00c7 100644
--- a/sys-kernel/ugrd/ugrd-9999.ebuild
+++ b/sys-kernel/ugrd/ugrd-9999.ebuild
@@ -52,6 +52,7 @@ pkg_postinst() {
 	optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
 	optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
 	optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
+	optfeature "ugrd.base.plymouth support" sys-boot/plymouth
 }
 
 distutils_enable_tests unittest


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-14  7:21 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-10-14  7:21 UTC (permalink / raw
  To: gentoo-commits

commit:     05c85407dfac69cbf25797a31d829f478985daac
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Sun Oct 13 20:39:35 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 07:20:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05c85407

sys-kernel/ugrd: add 1.25.0 with experimetal plymouth support

Signed-off-by: Zen <z <AT> pyl.onl>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/ugrd-1.25.0.ebuild | 76 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index fd86a14acec4..e70d58d03e89 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -3,3 +3,4 @@ DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4ce
 DIST ugrd-1.20.0.tar.gz 64541 BLAKE2B d85241e6c0822d3df0d65cc07cb17014b4d66554476caf4d37ebc77943c57ef3004e1e01b4eb504974b2ab9d1a03015812e8b0cb19ebf03667a9f6c7a1bded03 SHA512 88f137fa5fc4cb61418cda03c0c58ff7632c1e61b7688ad9e8cce538842d817e973c1d2293b8bb92b9697a29511cb535059ca060793ba6353d95d5ddad417f3a
 DIST ugrd-1.22.0.tar.gz 65955 BLAKE2B 0573364964ce8d874ff126e87e003aeb90d3f6460ecaca7aaf5f231fe9069dca9239c0ee9e68157eebaab8651401df0c22695d5a81e2984dbfb89b4a38f5a0aa SHA512 78598f0b0d81a9528b84fd829269b7ce0588830bf95ce5e6455c02053e38a25dd9eecb664057ea6bfed653590c39f73dd3f4a4235e056d27c9c100b166a29996
 DIST ugrd-1.24.2.tar.gz 68762 BLAKE2B 2def2144381f66ac79d5c2246f49cacdde3aafd3ee7909cc9bfbfbb31dc554d501b240854452f51e4fd8e66d2af20c7380ee2552eb546f6728d56d59f9a2e9a1 SHA512 d5c756950212509d5a94c8f82b27da2cefdf6b7328f2871a9a56231e8e15d0fde1aea1850066935bdc5c143172fb3b2b09fb9fb131c3f52813d5b609541136d5
+DIST ugrd-1.25.0.tar.gz 70221 BLAKE2B 7f3403dd4c5b6131c61c92679d447df6ef49e6dc6d7f17cef67b90d5d2c06087417fc0700a42be41e73749b127e11df807a93c14e91a50827e6043214ca6990c SHA512 6e4b74ee6d4cf38f76063cb5a15a2b853422a6a9ee25887830dbc158e61b1ea2a25dd36522d3e8642eb05ba875baa03ce18db1d66407f0ea55a4261cdd6df5da

diff --git a/sys-kernel/ugrd/ugrd-1.25.0.ebuild b/sys-kernel/ugrd/ugrd-1.25.0.ebuild
new file mode 100644
index 000000000000..e20626ffd48f
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.25.0.ebuild
@@ -0,0 +1,76 @@
+# 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.3.0[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.4.0[${PYTHON_USEDEP}]
+	sys-apps/pciutils
+"
+
+BDEPEND="
+	test? (
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
+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]
+	optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
+	optfeature "ugrd.base.plymouth support" sys-boot/plymouth
+}
+
+distutils_enable_tests unittest
+
+src_test() {
+	if [[ ! -w '/dev/kvm' ]]; then
+		ewarn "Skipping tests: Cannot write to /dev/kvm."
+		return 1
+	fi
+	if [[ ! -r "$(command -v mount)" ]]; then
+		ewarn "Cannot read the mount binary, tests may fail until"
+		ewarn "util-linux is re-emerged without the sfperms feature."
+	fi
+
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-12 16:33 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-10-12 16:33 UTC (permalink / raw
  To: gentoo-commits

commit:     ec94a3eadb19ee394be51b72db097f4f976c1951
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Thu Oct 10 18:15:09 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Oct 12 16:31:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec94a3ea

sys-kernel/ugrd: Drop 1.23.0, the argon check was too strict

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/38953
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 -
 sys-kernel/ugrd/ugrd-1.23.0.ebuild | 75 --------------------------------------
 2 files changed, 76 deletions(-)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 943e1e0eb6a5..fd86a14acec4 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -2,5 +2,4 @@ DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7
 DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c
 DIST ugrd-1.20.0.tar.gz 64541 BLAKE2B d85241e6c0822d3df0d65cc07cb17014b4d66554476caf4d37ebc77943c57ef3004e1e01b4eb504974b2ab9d1a03015812e8b0cb19ebf03667a9f6c7a1bded03 SHA512 88f137fa5fc4cb61418cda03c0c58ff7632c1e61b7688ad9e8cce538842d817e973c1d2293b8bb92b9697a29511cb535059ca060793ba6353d95d5ddad417f3a
 DIST ugrd-1.22.0.tar.gz 65955 BLAKE2B 0573364964ce8d874ff126e87e003aeb90d3f6460ecaca7aaf5f231fe9069dca9239c0ee9e68157eebaab8651401df0c22695d5a81e2984dbfb89b4a38f5a0aa SHA512 78598f0b0d81a9528b84fd829269b7ce0588830bf95ce5e6455c02053e38a25dd9eecb664057ea6bfed653590c39f73dd3f4a4235e056d27c9c100b166a29996
-DIST ugrd-1.23.0.tar.gz 67477 BLAKE2B 12980f3620f9d6c98ee652d957f96961f2b1456719b2806a72c9512bd7f74a74a162f57aefbf2f92967becb7d3e05feebaf4fe590d0be4884c7d99b5f5037ad5 SHA512 ccf4af7fae729142203f5f4e619273705c8d9d9ee56b65e90736aed9f2f7cd0b886f12e84ca3ac4e8f754606bc91e9dc80a14721059e90e76e622ecac3b8e408
 DIST ugrd-1.24.2.tar.gz 68762 BLAKE2B 2def2144381f66ac79d5c2246f49cacdde3aafd3ee7909cc9bfbfbb31dc554d501b240854452f51e4fd8e66d2af20c7380ee2552eb546f6728d56d59f9a2e9a1 SHA512 d5c756950212509d5a94c8f82b27da2cefdf6b7328f2871a9a56231e8e15d0fde1aea1850066935bdc5c143172fb3b2b09fb9fb131c3f52813d5b609541136d5

diff --git a/sys-kernel/ugrd/ugrd-1.23.0.ebuild b/sys-kernel/ugrd/ugrd-1.23.0.ebuild
deleted file mode 100644
index b8d3f75a0f20..000000000000
--- a/sys-kernel/ugrd/ugrd-1.23.0.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# 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.3[${PYTHON_USEDEP}]
-	>=dev-python/pycpio-1.3.2[${PYTHON_USEDEP}]
-	sys-apps/pciutils
-"
-
-BDEPEND="
-	test? (
-		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
-		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
-	)
-"
-
-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]
-	optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
-}
-
-distutils_enable_tests unittest
-
-src_test() {
-	if [[ ! -w '/dev/kvm' ]]; then
-		ewarn "Skipping tests: Cannot write to /dev/kvm."
-		return 1
-	fi
-	if [[ ! -r "$(command -v mount)" ]]; then
-		ewarn "Cannot read the mount binary, tests may fail until"
-		ewarn "util-linux is re-emerged without the sfperms feature."
-	fi
-
-	distutils-r1_src_test
-}
-
-python_test() {
-	eunittest tests/
-}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-12 16:33 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-10-12 16:33 UTC (permalink / raw
  To: gentoo-commits

commit:     ced8bddfc7e9a6d5d061021cd83c2a689d3ca82c
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Thu Oct 10 18:14:07 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Oct 12 16:31:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced8bddf

sys-kernel/ugrd: Add 1.24.2

Signed-off-by: Zen <z <AT> pyl.onl>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/ugrd-1.24.2.ebuild | 75 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 572e2a07234b..943e1e0eb6a5 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -3,3 +3,4 @@ DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4ce
 DIST ugrd-1.20.0.tar.gz 64541 BLAKE2B d85241e6c0822d3df0d65cc07cb17014b4d66554476caf4d37ebc77943c57ef3004e1e01b4eb504974b2ab9d1a03015812e8b0cb19ebf03667a9f6c7a1bded03 SHA512 88f137fa5fc4cb61418cda03c0c58ff7632c1e61b7688ad9e8cce538842d817e973c1d2293b8bb92b9697a29511cb535059ca060793ba6353d95d5ddad417f3a
 DIST ugrd-1.22.0.tar.gz 65955 BLAKE2B 0573364964ce8d874ff126e87e003aeb90d3f6460ecaca7aaf5f231fe9069dca9239c0ee9e68157eebaab8651401df0c22695d5a81e2984dbfb89b4a38f5a0aa SHA512 78598f0b0d81a9528b84fd829269b7ce0588830bf95ce5e6455c02053e38a25dd9eecb664057ea6bfed653590c39f73dd3f4a4235e056d27c9c100b166a29996
 DIST ugrd-1.23.0.tar.gz 67477 BLAKE2B 12980f3620f9d6c98ee652d957f96961f2b1456719b2806a72c9512bd7f74a74a162f57aefbf2f92967becb7d3e05feebaf4fe590d0be4884c7d99b5f5037ad5 SHA512 ccf4af7fae729142203f5f4e619273705c8d9d9ee56b65e90736aed9f2f7cd0b886f12e84ca3ac4e8f754606bc91e9dc80a14721059e90e76e622ecac3b8e408
+DIST ugrd-1.24.2.tar.gz 68762 BLAKE2B 2def2144381f66ac79d5c2246f49cacdde3aafd3ee7909cc9bfbfbb31dc554d501b240854452f51e4fd8e66d2af20c7380ee2552eb546f6728d56d59f9a2e9a1 SHA512 d5c756950212509d5a94c8f82b27da2cefdf6b7328f2871a9a56231e8e15d0fde1aea1850066935bdc5c143172fb3b2b09fb9fb131c3f52813d5b609541136d5

diff --git a/sys-kernel/ugrd/ugrd-1.24.2.ebuild b/sys-kernel/ugrd/ugrd-1.24.2.ebuild
new file mode 100644
index 000000000000..b8d3f75a0f20
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.24.2.ebuild
@@ -0,0 +1,75 @@
+# 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.3[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.3.2[${PYTHON_USEDEP}]
+	sys-apps/pciutils
+"
+
+BDEPEND="
+	test? (
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
+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]
+	optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
+}
+
+distutils_enable_tests unittest
+
+src_test() {
+	if [[ ! -w '/dev/kvm' ]]; then
+		ewarn "Skipping tests: Cannot write to /dev/kvm."
+		return 1
+	fi
+	if [[ ! -r "$(command -v mount)" ]]; then
+		ewarn "Cannot read the mount binary, tests may fail until"
+		ewarn "util-linux is re-emerged without the sfperms feature."
+	fi
+
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-10 16:54 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-10-10 16:54 UTC (permalink / raw
  To: gentoo-commits

commit:     a28137ebe52ccb95c9fde43f8f712e370f1acee5
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 10 16:53:54 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 16:54:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a28137eb

sys-kernel/ugrd: stabilize 1.20.0 for amd64

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-1.20.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-kernel/ugrd/ugrd-1.20.0.ebuild b/sys-kernel/ugrd/ugrd-1.20.0.ebuild
index 1f36208f76c4..a38b24dd7d62 100644
--- a/sys-kernel/ugrd/ugrd-1.20.0.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.20.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm64"
+KEYWORDS="amd64 arm64"
 
 RDEPEND="
 	app-misc/pax-utils


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-10 16:20 Arthur Zamarin
  0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2024-10-10 16:20 UTC (permalink / raw
  To: gentoo-commits

commit:     8d72274fce78e4ea9ee372ce47f885ff1657ef26
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 10 16:20:01 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 16:20:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d72274f

sys-kernel/ugrd: Stabilize 1.20.0 arm64, #940499

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-1.20.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-kernel/ugrd/ugrd-1.20.0.ebuild b/sys-kernel/ugrd/ugrd-1.20.0.ebuild
index 6869d9c50265..1f36208f76c4 100644
--- a/sys-kernel/ugrd/ugrd-1.20.0.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.20.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="~amd64 arm64"
 
 RDEPEND="
 	app-misc/pax-utils


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-10-08 10:22 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-10-08 10:22 UTC (permalink / raw
  To: gentoo-commits

commit:     760f8bcc741f16b1dee6ad53471d6ccc87eb53dc
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Mon Oct  7 18:38:03 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Oct  8 10:20:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760f8bcc

sys-kernel/ugrd: Add 1.23.0 with MDRAID support

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/38906
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest                                 |  1 +
 sys-kernel/ugrd/{ugrd-9999.ebuild => ugrd-1.23.0.ebuild} | 10 ++++++----
 sys-kernel/ugrd/ugrd-9999.ebuild                         |  1 +
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index cbe0cf0bc8ba..572e2a07234b 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -2,3 +2,4 @@ DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7
 DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c
 DIST ugrd-1.20.0.tar.gz 64541 BLAKE2B d85241e6c0822d3df0d65cc07cb17014b4d66554476caf4d37ebc77943c57ef3004e1e01b4eb504974b2ab9d1a03015812e8b0cb19ebf03667a9f6c7a1bded03 SHA512 88f137fa5fc4cb61418cda03c0c58ff7632c1e61b7688ad9e8cce538842d817e973c1d2293b8bb92b9697a29511cb535059ca060793ba6353d95d5ddad417f3a
 DIST ugrd-1.22.0.tar.gz 65955 BLAKE2B 0573364964ce8d874ff126e87e003aeb90d3f6460ecaca7aaf5f231fe9069dca9239c0ee9e68157eebaab8651401df0c22695d5a81e2984dbfb89b4a38f5a0aa SHA512 78598f0b0d81a9528b84fd829269b7ce0588830bf95ce5e6455c02053e38a25dd9eecb664057ea6bfed653590c39f73dd3f4a4235e056d27c9c100b166a29996
+DIST ugrd-1.23.0.tar.gz 67477 BLAKE2B 12980f3620f9d6c98ee652d957f96961f2b1456719b2806a72c9512bd7f74a74a162f57aefbf2f92967becb7d3e05feebaf4fe590d0be4884c7d99b5f5037ad5 SHA512 ccf4af7fae729142203f5f4e619273705c8d9d9ee56b65e90736aed9f2f7cd0b886f12e84ca3ac4e8f754606bc91e9dc80a14721059e90e76e622ecac3b8e408

diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-1.23.0.ebuild
similarity index 85%
copy from sys-kernel/ugrd/ugrd-9999.ebuild
copy to sys-kernel/ugrd/ugrd-1.23.0.ebuild
index 6f4810071f2d..b8d3f75a0f20 100644
--- a/sys-kernel/ugrd/ugrd-9999.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.23.0.ebuild
@@ -5,19 +5,20 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{11..12} )
-inherit distutils-r1 git-r3 optfeature shell-completion
+inherit distutils-r1 optfeature shell-completion
 
 DESCRIPTION="Python based initramfs generator with TOML defintions"
 HOMEPAGE="https://github.com/desultory/ugrd"
-EGIT_REPO_URI="https://github.com/desultory/${PN}"
+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-9999[${PYTHON_USEDEP}]
-	>=dev-python/pycpio-9999[${PYTHON_USEDEP}]
+	>=dev-python/zenlib-2.2.3[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.3.2[${PYTHON_USEDEP}]
 	sys-apps/pciutils
 "
 
@@ -51,6 +52,7 @@ pkg_postinst() {
 	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]
+	optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
 }
 
 distutils_enable_tests unittest

diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild
index 6f4810071f2d..12d394fa29fe 100644
--- a/sys-kernel/ugrd/ugrd-9999.ebuild
+++ b/sys-kernel/ugrd/ugrd-9999.ebuild
@@ -51,6 +51,7 @@ pkg_postinst() {
 	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]
+	optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
 }
 
 distutils_enable_tests unittest


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-09-23 14:45 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-09-23 14:45 UTC (permalink / raw
  To: gentoo-commits

commit:     25983688ef444ad46f052885ed78ba88e640b9ba
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Sun Sep 22 18:23:45 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 14:43:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25983688

sys-kernel/ugrd: add 1.22.0

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/38732
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/ugrd-1.22.0.ebuild | 74 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 42fd5e528ebe..cbe0cf0bc8ba 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -1,3 +1,4 @@
 DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6
 DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c
 DIST ugrd-1.20.0.tar.gz 64541 BLAKE2B d85241e6c0822d3df0d65cc07cb17014b4d66554476caf4d37ebc77943c57ef3004e1e01b4eb504974b2ab9d1a03015812e8b0cb19ebf03667a9f6c7a1bded03 SHA512 88f137fa5fc4cb61418cda03c0c58ff7632c1e61b7688ad9e8cce538842d817e973c1d2293b8bb92b9697a29511cb535059ca060793ba6353d95d5ddad417f3a
+DIST ugrd-1.22.0.tar.gz 65955 BLAKE2B 0573364964ce8d874ff126e87e003aeb90d3f6460ecaca7aaf5f231fe9069dca9239c0ee9e68157eebaab8651401df0c22695d5a81e2984dbfb89b4a38f5a0aa SHA512 78598f0b0d81a9528b84fd829269b7ce0588830bf95ce5e6455c02053e38a25dd9eecb664057ea6bfed653590c39f73dd3f4a4235e056d27c9c100b166a29996

diff --git a/sys-kernel/ugrd/ugrd-1.22.0.ebuild b/sys-kernel/ugrd/ugrd-1.22.0.ebuild
new file mode 100644
index 000000000000..6869d9c50265
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.22.0.ebuild
@@ -0,0 +1,74 @@
+# 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.3[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.3.2[${PYTHON_USEDEP}]
+	sys-apps/pciutils
+"
+
+BDEPEND="
+	test? (
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
+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]
+}
+
+distutils_enable_tests unittest
+
+src_test() {
+	if [[ ! -w '/dev/kvm' ]]; then
+		ewarn "Skipping tests: Cannot write to /dev/kvm."
+		return 1
+	fi
+	if [[ ! -r "$(command -v mount)" ]]; then
+		ewarn "Cannot read the mount binary, tests may fail until"
+		ewarn "util-linux is re-emerged without the sfperms feature."
+	fi
+
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-09-14 12:26 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-09-14 12:26 UTC (permalink / raw
  To: gentoo-commits

commit:     979ca768eb5cdb487ffd960170d93b7f49dfc057
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Fri Sep 13 20:41:27 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 12:26:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=979ca768

sys-kernel/ugrd: del 1.19.4

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/38597
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 -
 sys-kernel/ugrd/ugrd-1.19.4.ebuild | 74 --------------------------------------
 2 files changed, 75 deletions(-)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 5b8fa52da866..42fd5e528ebe 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -1,4 +1,3 @@
 DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6
 DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c
-DIST ugrd-1.19.4.tar.gz 63998 BLAKE2B b6a0f7db7e962f84d695e478f79116329b622505393d17c94d3501ab461dafd3047c25f7ad14b8c4ceea9177b4fdb6e3536952a440096af6619fdf4154252254 SHA512 8504d1f673ed1c1510729376e4419166f88357ef655106c20783071b3dc6c442e9b9ae166781de55f60572ce24f8f31eb3079750d523d99340aafed822073729
 DIST ugrd-1.20.0.tar.gz 64541 BLAKE2B d85241e6c0822d3df0d65cc07cb17014b4d66554476caf4d37ebc77943c57ef3004e1e01b4eb504974b2ab9d1a03015812e8b0cb19ebf03667a9f6c7a1bded03 SHA512 88f137fa5fc4cb61418cda03c0c58ff7632c1e61b7688ad9e8cce538842d817e973c1d2293b8bb92b9697a29511cb535059ca060793ba6353d95d5ddad417f3a

diff --git a/sys-kernel/ugrd/ugrd-1.19.4.ebuild b/sys-kernel/ugrd/ugrd-1.19.4.ebuild
deleted file mode 100644
index 6869d9c50265..000000000000
--- a/sys-kernel/ugrd/ugrd-1.19.4.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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.3[${PYTHON_USEDEP}]
-	>=dev-python/pycpio-1.3.2[${PYTHON_USEDEP}]
-	sys-apps/pciutils
-"
-
-BDEPEND="
-	test? (
-		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
-		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
-	)
-"
-
-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]
-}
-
-distutils_enable_tests unittest
-
-src_test() {
-	if [[ ! -w '/dev/kvm' ]]; then
-		ewarn "Skipping tests: Cannot write to /dev/kvm."
-		return 1
-	fi
-	if [[ ! -r "$(command -v mount)" ]]; then
-		ewarn "Cannot read the mount binary, tests may fail until"
-		ewarn "util-linux is re-emerged without the sfperms feature."
-	fi
-
-	distutils-r1_src_test
-}
-
-python_test() {
-	eunittest tests/
-}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-09-14 12:26 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-09-14 12:26 UTC (permalink / raw
  To: gentoo-commits

commit:     537efd3abdac77f606bd5960542e642c6a0f95c2
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Fri Sep 13 20:40:50 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 12:26:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=537efd3a

sys-kernel/ugrd: add 1.20.0

Signed-off-by: Zen <z <AT> pyl.onl>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/ugrd-1.20.0.ebuild | 74 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 4554e26996ce..5b8fa52da866 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -1,3 +1,4 @@
 DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6
 DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c
 DIST ugrd-1.19.4.tar.gz 63998 BLAKE2B b6a0f7db7e962f84d695e478f79116329b622505393d17c94d3501ab461dafd3047c25f7ad14b8c4ceea9177b4fdb6e3536952a440096af6619fdf4154252254 SHA512 8504d1f673ed1c1510729376e4419166f88357ef655106c20783071b3dc6c442e9b9ae166781de55f60572ce24f8f31eb3079750d523d99340aafed822073729
+DIST ugrd-1.20.0.tar.gz 64541 BLAKE2B d85241e6c0822d3df0d65cc07cb17014b4d66554476caf4d37ebc77943c57ef3004e1e01b4eb504974b2ab9d1a03015812e8b0cb19ebf03667a9f6c7a1bded03 SHA512 88f137fa5fc4cb61418cda03c0c58ff7632c1e61b7688ad9e8cce538842d817e973c1d2293b8bb92b9697a29511cb535059ca060793ba6353d95d5ddad417f3a

diff --git a/sys-kernel/ugrd/ugrd-1.20.0.ebuild b/sys-kernel/ugrd/ugrd-1.20.0.ebuild
new file mode 100644
index 000000000000..6869d9c50265
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.20.0.ebuild
@@ -0,0 +1,74 @@
+# 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.3[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.3.2[${PYTHON_USEDEP}]
+	sys-apps/pciutils
+"
+
+BDEPEND="
+	test? (
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
+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]
+}
+
+distutils_enable_tests unittest
+
+src_test() {
+	if [[ ! -w '/dev/kvm' ]]; then
+		ewarn "Skipping tests: Cannot write to /dev/kvm."
+		return 1
+	fi
+	if [[ ! -r "$(command -v mount)" ]]; then
+		ewarn "Cannot read the mount binary, tests may fail until"
+		ewarn "util-linux is re-emerged without the sfperms feature."
+	fi
+
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-09-03  7:37 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-09-03  7:37 UTC (permalink / raw
  To: gentoo-commits

commit:     3948cb4bc9b7cba44004e290fc3f9a992a740190
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Tue Sep  3 02:25:22 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Sep  3 07:36:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3948cb4b

sys-kernel/ugrd: add 1.19.4

Signed-off-by: Zen <z <AT> pyl.onl>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/ugrd-1.19.4.ebuild | 74 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 23c8c935bd93..ad753f69ed79 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -1,3 +1,4 @@
 DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6
 DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c
 DIST ugrd-1.19.3.tar.gz 63991 BLAKE2B f0eb6298504969eb2740b054e45fcb541980fa7ae6aa157ea4ab275f3c24d853656dda1df4aa82c59abaa294c14e8ad1ecfbb33fa41826aff96474ad2cfb627e SHA512 0a0679a881f16fc42af6ee8b3de00da747ca685aa5dbd4ac0496097bf9642fd74d3a8f5dd6722f712065afe0574d75f5a4e4a90a2ba23f10c65015f004660206
+DIST ugrd-1.19.4.tar.gz 63998 BLAKE2B b6a0f7db7e962f84d695e478f79116329b622505393d17c94d3501ab461dafd3047c25f7ad14b8c4ceea9177b4fdb6e3536952a440096af6619fdf4154252254 SHA512 8504d1f673ed1c1510729376e4419166f88357ef655106c20783071b3dc6c442e9b9ae166781de55f60572ce24f8f31eb3079750d523d99340aafed822073729

diff --git a/sys-kernel/ugrd/ugrd-1.19.4.ebuild b/sys-kernel/ugrd/ugrd-1.19.4.ebuild
new file mode 100644
index 000000000000..6869d9c50265
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.19.4.ebuild
@@ -0,0 +1,74 @@
+# 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.3[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.3.2[${PYTHON_USEDEP}]
+	sys-apps/pciutils
+"
+
+BDEPEND="
+	test? (
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
+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]
+}
+
+distutils_enable_tests unittest
+
+src_test() {
+	if [[ ! -w '/dev/kvm' ]]; then
+		ewarn "Skipping tests: Cannot write to /dev/kvm."
+		return 1
+	fi
+	if [[ ! -r "$(command -v mount)" ]]; then
+		ewarn "Cannot read the mount binary, tests may fail until"
+		ewarn "util-linux is re-emerged without the sfperms feature."
+	fi
+
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-09-03  7:37 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-09-03  7:37 UTC (permalink / raw
  To: gentoo-commits

commit:     702358da0d3785c43d21fd86509f104e4dbd838c
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Tue Sep  3 02:25:49 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Sep  3 07:36:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=702358da

sys-kernel/ugrd: drop 1.19.3

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/38388
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 -
 sys-kernel/ugrd/ugrd-1.19.3.ebuild | 74 --------------------------------------
 2 files changed, 75 deletions(-)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index ad753f69ed79..4554e26996ce 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -1,4 +1,3 @@
 DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6
 DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c
-DIST ugrd-1.19.3.tar.gz 63991 BLAKE2B f0eb6298504969eb2740b054e45fcb541980fa7ae6aa157ea4ab275f3c24d853656dda1df4aa82c59abaa294c14e8ad1ecfbb33fa41826aff96474ad2cfb627e SHA512 0a0679a881f16fc42af6ee8b3de00da747ca685aa5dbd4ac0496097bf9642fd74d3a8f5dd6722f712065afe0574d75f5a4e4a90a2ba23f10c65015f004660206
 DIST ugrd-1.19.4.tar.gz 63998 BLAKE2B b6a0f7db7e962f84d695e478f79116329b622505393d17c94d3501ab461dafd3047c25f7ad14b8c4ceea9177b4fdb6e3536952a440096af6619fdf4154252254 SHA512 8504d1f673ed1c1510729376e4419166f88357ef655106c20783071b3dc6c442e9b9ae166781de55f60572ce24f8f31eb3079750d523d99340aafed822073729

diff --git a/sys-kernel/ugrd/ugrd-1.19.3.ebuild b/sys-kernel/ugrd/ugrd-1.19.3.ebuild
deleted file mode 100644
index 6869d9c50265..000000000000
--- a/sys-kernel/ugrd/ugrd-1.19.3.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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.3[${PYTHON_USEDEP}]
-	>=dev-python/pycpio-1.3.2[${PYTHON_USEDEP}]
-	sys-apps/pciutils
-"
-
-BDEPEND="
-	test? (
-		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
-		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
-	)
-"
-
-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]
-}
-
-distutils_enable_tests unittest
-
-src_test() {
-	if [[ ! -w '/dev/kvm' ]]; then
-		ewarn "Skipping tests: Cannot write to /dev/kvm."
-		return 1
-	fi
-	if [[ ! -r "$(command -v mount)" ]]; then
-		ewarn "Cannot read the mount binary, tests may fail until"
-		ewarn "util-linux is re-emerged without the sfperms feature."
-	fi
-
-	distutils-r1_src_test
-}
-
-python_test() {
-	eunittest tests/
-}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-08-31 18:51 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-08-31 18:51 UTC (permalink / raw
  To: gentoo-commits

commit:     b9e868c042eca09c4879641484ab4ba4e3198b9a
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Sat Aug 31 18:37:46 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 18:49:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e868c0

sys-kernel/ugrd: add 1.19.3, drop 1.19.2

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/38360
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest                                   | 2 +-
 sys-kernel/ugrd/{ugrd-1.19.2.ebuild => ugrd-1.19.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index b663d79e8e87..23c8c935bd93 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -1,3 +1,3 @@
 DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6
 DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c
-DIST ugrd-1.19.2.tar.gz 63366 BLAKE2B 3bc2168bd92a41fef54e627a1ce9679fc628c55f58667b682fde3cc8a3c67792856dab11540bccc2c85f9270c20701c52dc3290e619ac19e5371b0b8dc18550d SHA512 60ce2ce0fa349c24579a042e18ea5b092a57ba41bb9434a5804d5f42b83a0e4371c212a755b4a78ee4c41d3c9e80e7f6f67913fcb207eaf53288f72570a063a9
+DIST ugrd-1.19.3.tar.gz 63991 BLAKE2B f0eb6298504969eb2740b054e45fcb541980fa7ae6aa157ea4ab275f3c24d853656dda1df4aa82c59abaa294c14e8ad1ecfbb33fa41826aff96474ad2cfb627e SHA512 0a0679a881f16fc42af6ee8b3de00da747ca685aa5dbd4ac0496097bf9642fd74d3a8f5dd6722f712065afe0574d75f5a4e4a90a2ba23f10c65015f004660206

diff --git a/sys-kernel/ugrd/ugrd-1.19.2.ebuild b/sys-kernel/ugrd/ugrd-1.19.3.ebuild
similarity index 100%
rename from sys-kernel/ugrd/ugrd-1.19.2.ebuild
rename to sys-kernel/ugrd/ugrd-1.19.3.ebuild


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-08-29  7:18 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-08-29  7:18 UTC (permalink / raw
  To: gentoo-commits

commit:     3e71275a32b75e80bb5709ef4323ec95843f2e35
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Fri Aug 23 19:18:03 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 07:16:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e71275a

sys-kernel/ugrd: add 1.19.2, drop 1.16.0, integrate tests

Closes: 938125
Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/38272
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest                           |  2 +-
 .../{ugrd-1.16.0.ebuild => ugrd-1.19.2.ebuild}     | 30 ++++++++++++++++++++--
 sys-kernel/ugrd/ugrd-9999.ebuild                   | 26 +++++++++++++++++++
 3 files changed, 55 insertions(+), 3 deletions(-)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 37cfe1987723..b663d79e8e87 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -1,3 +1,3 @@
 DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6
-DIST ugrd-1.16.0.tar.gz 66050 BLAKE2B 50417d15a50f3e6da2609d61f4a88f4bafe76d02f82ce4a8f8b152e311a68543956c30487a7caee769c8da2a266d9266377a798b6577f4b3d54164acb55f20fc SHA512 ac67a5164c2d239a5994bfde972bf82fe9f63bfc339ad263256e9889826ff71df224a8d003b0db2e2900d862dbd2a07c11c1b99fe12f94e52a8c5cd65ef302e5
 DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c
+DIST ugrd-1.19.2.tar.gz 63366 BLAKE2B 3bc2168bd92a41fef54e627a1ce9679fc628c55f58667b682fde3cc8a3c67792856dab11540bccc2c85f9270c20701c52dc3290e619ac19e5371b0b8dc18550d SHA512 60ce2ce0fa349c24579a042e18ea5b092a57ba41bb9434a5804d5f42b83a0e4371c212a755b4a78ee4c41d3c9e80e7f6f67913fcb207eaf53288f72570a063a9

diff --git a/sys-kernel/ugrd/ugrd-1.16.0.ebuild b/sys-kernel/ugrd/ugrd-1.19.2.ebuild
similarity index 68%
rename from sys-kernel/ugrd/ugrd-1.16.0.ebuild
rename to sys-kernel/ugrd/ugrd-1.19.2.ebuild
index 2259e96649a2..6869d9c50265 100644
--- a/sys-kernel/ugrd/ugrd-1.16.0.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.19.2.ebuild
@@ -17,11 +17,18 @@ KEYWORDS="~amd64 ~arm64"
 
 RDEPEND="
 	app-misc/pax-utils
-	>=dev-python/zenlib-2.2.0[${PYTHON_USEDEP}]
-	>=dev-python/pycpio-1.2.1[${PYTHON_USEDEP}]
+	>=dev-python/zenlib-2.2.3[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-1.3.2[${PYTHON_USEDEP}]
 	sys-apps/pciutils
 "
 
+BDEPEND="
+	test? (
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
 python_install_all() {
 	# Call the distutils-r1_python_install_all function
 	distutils-r1_python_install_all
@@ -46,3 +53,22 @@ pkg_postinst() {
 	optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
 	optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
 }
+
+distutils_enable_tests unittest
+
+src_test() {
+	if [[ ! -w '/dev/kvm' ]]; then
+		ewarn "Skipping tests: Cannot write to /dev/kvm."
+		return 1
+	fi
+	if [[ ! -r "$(command -v mount)" ]]; then
+		ewarn "Cannot read the mount binary, tests may fail until"
+		ewarn "util-linux is re-emerged without the sfperms feature."
+	fi
+
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}

diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild
index 79e735294206..6f4810071f2d 100644
--- a/sys-kernel/ugrd/ugrd-9999.ebuild
+++ b/sys-kernel/ugrd/ugrd-9999.ebuild
@@ -21,6 +21,13 @@ RDEPEND="
 	sys-apps/pciutils
 "
 
+BDEPEND="
+	test? (
+		amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
+		arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
+	)
+"
+
 python_install_all() {
 	# Call the distutils-r1_python_install_all function
 	distutils-r1_python_install_all
@@ -45,3 +52,22 @@ pkg_postinst() {
 	optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
 	optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
 }
+
+distutils_enable_tests unittest
+
+src_test() {
+	if [[ ! -w '/dev/kvm' ]]; then
+		ewarn "Skipping tests: Cannot write to /dev/kvm."
+		return 1
+	fi
+	if [[ ! -r "$(command -v mount)" ]]; then
+		ewarn "Cannot read the mount binary, tests may fail until"
+		ewarn "util-linux is re-emerged without the sfperms feature."
+	fi
+
+	distutils-r1_src_test
+}
+
+python_test() {
+	eunittest tests/
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-08-10  8:45 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-08-10  8:45 UTC (permalink / raw
  To: gentoo-commits

commit:     e488998cf32b87ff80081eee505ccf1d7d47c7ad
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Fri Aug  9 21:07:10 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Aug 10 08:45:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e488998c

sys-kernel/ugrd: add 1.17.0

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/38035
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/ugrd-1.17.0.ebuild | 48 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 0027fa4f19c1..37cfe1987723 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -1,2 +1,3 @@
 DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6
 DIST ugrd-1.16.0.tar.gz 66050 BLAKE2B 50417d15a50f3e6da2609d61f4a88f4bafe76d02f82ce4a8f8b152e311a68543956c30487a7caee769c8da2a266d9266377a798b6577f4b3d54164acb55f20fc SHA512 ac67a5164c2d239a5994bfde972bf82fe9f63bfc339ad263256e9889826ff71df224a8d003b0db2e2900d862dbd2a07c11c1b99fe12f94e52a8c5cd65ef302e5
+DIST ugrd-1.17.0.tar.gz 69517 BLAKE2B 2acadac8ab3830791146522ccfff6f8c5e98eff4cea355dafd5f5498bedf5d0f200ec2bc2ee4a20c62e3920590c70b2c788c776c148e7291cd3391eb2e0018df SHA512 5caeebadb579536a60cecd6c9fd9036c178ab5c5700418b95841e7102ac0c3c5fa14ceebc9994a86f65bd0623ca819ed7cb7a986f412e0358c9597c0e579f90c

diff --git a/sys-kernel/ugrd/ugrd-1.17.0.ebuild b/sys-kernel/ugrd/ugrd-1.17.0.ebuild
new file mode 100644
index 000000000000..204c70be070a
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.17.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.2[${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]
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-07-21 17:42 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-07-21 17:42 UTC (permalink / raw
  To: gentoo-commits

commit:     947245ab693ff875c40c347ba67065b2495e5c6b
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Sun Jul 21 16:51:42 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 17:42:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=947245ab

sys-kernel/ugrd: Update to use zenlib-9999

Signed-off-by: Zen <z <AT> pyl.onl>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild
index f7e661bef53f..79e735294206 100644
--- a/sys-kernel/ugrd/ugrd-9999.ebuild
+++ b/sys-kernel/ugrd/ugrd-9999.ebuild
@@ -16,7 +16,7 @@ SLOT="0"
 
 RDEPEND="
 	app-misc/pax-utils
-	>=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}]
+	>=dev-python/zenlib-9999[${PYTHON_USEDEP}]
 	>=dev-python/pycpio-9999[${PYTHON_USEDEP}]
 	sys-apps/pciutils
 "


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-07-21 17:42 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-07-21 17:42 UTC (permalink / raw
  To: gentoo-commits

commit:     a3335630ed6daddba6dbe9e092500762ab991826
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Sun Jul 21 16:19:58 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> 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 <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/37656
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> 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]
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-07-15 23:29 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2024-07-15 23:29 UTC (permalink / raw
  To: gentoo-commits

commit:     ba3d44291efafa891acf968b1a72f17069676894
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 23:29:14 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 23:29:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba3d4429

sys-kernel/ugrd: Keyword 1.13.0 arm64, #936125

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-kernel/ugrd/ugrd-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-kernel/ugrd/ugrd-1.13.0.ebuild b/sys-kernel/ugrd/ugrd-1.13.0.ebuild
index 65d5b554e610..4dd028049afe 100644
--- a/sys-kernel/ugrd/ugrd-1.13.0.ebuild
+++ b/sys-kernel/ugrd/ugrd-1.13.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
 
 RDEPEND="
 	app-misc/pax-utils


^ permalink raw reply related	[flat|nested] 30+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/
@ 2024-07-15 19:18 Andrew Ammerlaan
  0 siblings, 0 replies; 30+ messages in thread
From: Andrew Ammerlaan @ 2024-07-15 19:18 UTC (permalink / raw
  To: gentoo-commits

commit:     3c2a3a3ca64219eb1b30b19de1af101e64271a09
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Fri Jun 28 16:42:56 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 19:15:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c2a3a3c

sys-kernel/ugrd: add 1.13.0, 9999; remove arm64 keyword.

Co-authored-by: Andrew Nowa Ammerlaan <andrewammerlaan <AT> gentoo.org>
Signed-off-by: Zen <116166721+desultory <AT> users.noreply.github.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sys-kernel/ugrd/Manifest           |  1 +
 sys-kernel/ugrd/metadata.xml       | 15 ++++++++++++
 sys-kernel/ugrd/ugrd-1.13.0.ebuild | 48 ++++++++++++++++++++++++++++++++++++++
 sys-kernel/ugrd/ugrd-9999.ebuild   | 47 +++++++++++++++++++++++++++++++++++++
 4 files changed, 111 insertions(+)

diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
new file mode 100644
index 000000000000..e22e79815035
--- /dev/null
+++ b/sys-kernel/ugrd/Manifest
@@ -0,0 +1 @@
+DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6

diff --git a/sys-kernel/ugrd/metadata.xml b/sys-kernel/ugrd/metadata.xml
new file mode 100644
index 000000000000..7beddeb5bc2b
--- /dev/null
+++ b/sys-kernel/ugrd/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>dev@pyl.onl</email>
+		<name>Zen</name>
+	</maintainer>
+	<maintainer type="person" proxied="proxy">
+		<email>andrewammerlaan@gentoo.org</email>
+		<name>Andrew Ammerlaan</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">desultory/ugrd</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/sys-kernel/ugrd/ugrd-1.13.0.ebuild b/sys-kernel/ugrd/ugrd-1.13.0.ebuild
new file mode 100644
index 000000000000..65d5b554e610
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-1.13.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"
+
+RDEPEND="
+	app-misc/pax-utils
+	>=dev-python/zenlib-2.1.2[${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]
+}

diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild
new file mode 100644
index 000000000000..f7e661bef53f
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-9999.ebuild
@@ -0,0 +1,47 @@
+# 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 git-r3 optfeature shell-completion
+
+DESCRIPTION="Python based initramfs generator with TOML defintions"
+HOMEPAGE="https://github.com/desultory/ugrd"
+EGIT_REPO_URI="https://github.com/desultory/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+	app-misc/pax-utils
+	>=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}]
+	>=dev-python/pycpio-9999[${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]
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2024-11-20  9:37 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-09 10:03 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/ugrd/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2024-11-20  9:37 Nowa Ammerlaan
2024-11-20  9:37 Nowa Ammerlaan
2024-11-09  9:02 Arthur Zamarin
2024-11-01 17:10 Andrew Ammerlaan
2024-11-01  8:55 Andrew Ammerlaan
2024-11-01  8:55 Andrew Ammerlaan
2024-10-27  8:46 Andrew Ammerlaan
2024-10-27  8:46 Andrew Ammerlaan
2024-10-24  8:42 Arthur Zamarin
2024-10-23  7:53 Jakov Smolić
2024-10-14  7:21 Andrew Ammerlaan
2024-10-14  7:21 Andrew Ammerlaan
2024-10-12 16:33 Andrew Ammerlaan
2024-10-12 16:33 Andrew Ammerlaan
2024-10-10 16:54 Andrew Ammerlaan
2024-10-10 16:20 Arthur Zamarin
2024-10-08 10:22 Andrew Ammerlaan
2024-09-23 14:45 Andrew Ammerlaan
2024-09-14 12:26 Andrew Ammerlaan
2024-09-14 12:26 Andrew Ammerlaan
2024-09-03  7:37 Andrew Ammerlaan
2024-09-03  7:37 Andrew Ammerlaan
2024-08-31 18:51 Andrew Ammerlaan
2024-08-29  7:18 Andrew Ammerlaan
2024-08-10  8:45 Andrew Ammerlaan
2024-07-21 17:42 Andrew Ammerlaan
2024-07-21 17:42 Andrew Ammerlaan
2024-07-15 23:29 Sam James
2024-07-15 19:18 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox