commit: c36e26e11f466ec9ed250c834fbe98936b241c39 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Fri Nov 16 18:51:55 2018 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Fri Nov 16 18:56:29 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36e26e1
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 <mattst88 <AT> gentoo.org> 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 46f8ece8fa1..ab18ab72df4 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