From c36e26e11f466ec9ed250c834fbe98936b241c39 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 16 Nov 2018 10:51:55 -0800 Subject: [PATCH] media-libs/mesa: Provide a python_check_deps() According to the documentation, this is required to pick the appropriate version of python if multiple are available. Closes: https://bugs.gentoo.org/663334 Signed-off-by: Matt Turner --- media-libs/mesa/mesa-9999.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 46f8ece8fa12..ab18ab72df4b 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -300,6 +300,12 @@ pkg_pretend() { fi } +python_check_deps() { + if use test; then + has_version ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" + fi +} + pkg_setup() { # warning message for bug 459306 if use llvm && has_version sys-devel/llvm[!debug=]; then -- 2.26.2