| 1 |
|
# Copyright 2023-2025 Gentoo Authors
|
|
1 |
# Copyright 2023-2026 Gentoo Authors
|
| 2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
3 |
|
| 4 |
4 |
EAPI=8
|
| 5 |
5 |
|
| 6 |
6 |
DISTUTILS_USE_PEP517=setuptools
|
| 7 |
|
PYTHON_COMPAT=( python3_{11..13} )
|
| 8 |
|
inherit distutils-r1 optfeature shell-completion
|
|
7 |
PYTHON_COMPAT=( python3_{11..14} )
|
|
8 |
inherit distutils-r1 git-r3 optfeature shell-completion
|
| 9 |
9 |
|
| 10 |
|
DESCRIPTION="Python based initramfs generator with TOML definitions"
|
|
10 |
DESCRIPTION="Python based POSIX initramfs generator with TOML definitions"
|
| 11 |
11 |
HOMEPAGE="https://github.com/desultory/ugrd"
|
| 12 |
|
SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
|
12 |
EGIT_REPO_URI="https://github.com/desultory/${PN}"
|
| 13 |
13 |
|
| 14 |
14 |
LICENSE="GPL-2"
|
| 15 |
15 |
SLOT="0"
|
| 16 |
|
KEYWORDS="amd64 arm64"
|
| 17 |
16 |
RESTRICT="test"
|
| 18 |
17 |
PROPERTIES="test_privileged"
|
| 19 |
18 |
|
| 20 |
19 |
RDEPEND="
|
| 21 |
20 |
app-misc/pax-utils
|
| 22 |
|
>=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}]
|
| 23 |
|
>=dev-python/pycpio-1.4.0[${PYTHON_USEDEP}]
|
| 24 |
|
sys-apps/pciutils
|
|
21 |
sys-apps/coreutils
|
|
22 |
sys-apps/kmod
|
|
23 |
sys-apps/util-linux
|
|
24 |
sys-devel/bc
|
|
25 |
>=dev-python/zenlib-9999[${PYTHON_USEDEP}]
|
|
26 |
>=dev-python/pycpio-9999[${PYTHON_USEDEP}]
|
| 25 |
27 |
"
|
| 26 |
28 |
|
| 27 |
29 |
BDEPEND="
|
| 28 |
30 |
test? (
|
|
31 |
sys-fs/cryptsetup
|
| 29 |
32 |
sys-fs/btrfs-progs
|
|
33 |
sys-fs/e2fsprogs
|
|
34 |
sys-fs/f2fs-tools
|
| 30 |
35 |
sys-fs/xfsprogs
|
| 31 |
|
sys-fs/cryptsetup
|
|
36 |
sys-fs/squashfs-tools
|
|
37 |
dev-python/zstandard
|
| 32 |
38 |
amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] )
|
| 33 |
39 |
arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] )
|
| 34 |
40 |
)
|
| ... | ... | |
| 56 |
62 |
optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup
|
| 57 |
63 |
optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs
|
| 58 |
64 |
optfeature "ugrd.crypto.gpg support" app-crypt/gnupg
|
|
65 |
optfeature "ugrd.fs.ext4 support" sys-fs/e2fsprogs
|
|
66 |
optfeature "ugrd.fs.f2s support" sys-fs/f2fs-tools
|
| 59 |
67 |
optfeature "ugrd.fs.lvm support" sys-fs/lvm2[lvm]
|
|
68 |
optfeature "ugrd.fs.zfs support" sys-fs/zfs
|
| 60 |
69 |
optfeature "ugrd.fs.mdraid support" sys-fs/mdadm
|
| 61 |
70 |
optfeature "ugrd.base.plymouth support" sys-boot/plymouth
|
|
71 |
optfeature "ZSTD compression support" dev-python/zstandard
|
|
72 |
|
| 62 |
73 |
}
|
| 63 |
74 |
|
| 64 |
75 |
distutils_enable_tests unittest
|