summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libblockdev/libblockdev-2.28.ebuild')
-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}