summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-10-04 19:38:15 +0100
committerMarek Szuba <marecki@gentoo.org>2022-10-04 19:45:24 +0100
commit35bb28e7bc54e5797075c510acc34cd160b91355 (patch)
treeef5dc265f1879d5c9c27963254a1311b0106306c /sys-libs/libblockdev
parentprofiles/arch/loong: mask USE=test on sys-libs/libblockdev (diff)
downloadgentoo-35bb28e7bc54e5797075c510acc34cd160b91355.tar.gz
gentoo-35bb28e7bc54e5797075c510acc34cd160b91355.tar.bz2
gentoo-35bb28e7bc54e5797075c510acc34cd160b91355.zip
sys-libs/libblockdev: add partial test dependencies
Suggested-by: unhappy-ending <unhappy-ending@protonmail.com> Closes: https://bugs.gentoo.org/852635 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sys-libs/libblockdev')
-rw-r--r--sys-libs/libblockdev/libblockdev-2.28.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-libs/libblockdev/libblockdev-2.28.ebuild b/sys-libs/libblockdev/libblockdev-2.28.ebuild
index 2b55a770d002..f406274d2126 100644
--- a/sys-libs/libblockdev/libblockdev-2.28.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28.ebuild
@@ -56,10 +56,17 @@ DEPEND="
${RDEPEND}
"
+# TODO: relax libbytesize condition once it has gained py3.11 support
BDEPEND+="
dev-util/gtk-doc-am
gtk-doc? ( dev-util/gtk-doc )
introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
+ test? (
+ $(python_gen_cond_dep '
+ dev-libs/libbytesize[python,${PYTHON_USEDEP}]
+ ' python3_{8..10} )
+ sys-block/targetcli-fb
+ )
"
REQUIRED_USE="${PYTHON_REQUIRED_USE}