summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/libvirt/libvirt-10.2.0-r1.ebuild')
-rw-r--r--app-emulation/libvirt/libvirt-10.2.0-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/app-emulation/libvirt/libvirt-10.2.0-r1.ebuild b/app-emulation/libvirt/libvirt-10.2.0-r1.ebuild
index 53b5807aa428..f888ab84e3c8 100644
--- a/app-emulation/libvirt/libvirt-10.2.0-r1.ebuild
+++ b/app-emulation/libvirt/libvirt-10.2.0-r1.ebuild
@@ -156,8 +156,9 @@ PATCHES=(
)
python_check_deps() {
- use test && python_has_version -d "dev-python/pytest[${PYTHON_USEDEP}]"
- return 0
+ if use test; then
+ python_has_version -d "dev-python/pytest[${PYTHON_USEDEP}]"
+ fi
}
pkg_setup() {