commit:     43cb0eea60a4243ec23cf9780bbfe9fc60d98456
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon May 15 21:28:17 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon May 15 21:29:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43cb0eea

media-libs/mesa: Fix python_check_deps

Closes: https://bugs.gentoo.org/906387
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/mesa/mesa-23.1.0.ebuild | 4 ++--
 media-libs/mesa/mesa-9999.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/mesa/mesa-23.1.0.ebuild 
b/media-libs/mesa/mesa-23.1.0.ebuild
index 0f1ac3b60433..0c0e7e13b47a 100644
--- a/media-libs/mesa/mesa-23.1.0.ebuild
+++ b/media-libs/mesa/mesa-23.1.0.ebuild
@@ -254,9 +254,9 @@ pkg_pretend() {
 }
 
 python_check_deps() {
-       python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+       python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" || 
return 1
        if use vulkan && use video_cards_intel && use amd64; then
-               python_has_version -b "dev-python/ply[${PYTHON_USEDEP}]"
+               python_has_version -b "dev-python/ply[${PYTHON_USEDEP}]" || 
return 1
        fi
 }
 

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index c97b387abfac..ad45cd716c1a 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -252,9 +252,9 @@ pkg_pretend() {
 }
 
 python_check_deps() {
-       python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+       python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" || 
return 1
        if use vulkan && use video_cards_intel && use amd64; then
-               python_has_version -b "dev-python/ply[${PYTHON_USEDEP}]"
+               python_has_version -b "dev-python/ply[${PYTHON_USEDEP}]" || 
return 1
        fi
 }
 

Reply via email to