Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/
Date: Fri, 16 Nov 2018 19:01:49
Message-Id: 1542394589.c36e26e11f466ec9ed250c834fbe98936b241c39.mattst88@gentoo
1 commit: c36e26e11f466ec9ed250c834fbe98936b241c39
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 16 18:51:55 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 16 18:56:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36e26e1
7
8 media-libs/mesa: Provide a python_check_deps()
9
10 According to the documentation, this is required to pick the appropriate
11 version of python if multiple are available.
12
13 Closes: https://bugs.gentoo.org/663334
14 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
15
16 media-libs/mesa/mesa-9999.ebuild | 6 ++++++
17 1 file changed, 6 insertions(+)
18
19 diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
20 index 46f8ece8fa1..ab18ab72df4 100644
21 --- a/media-libs/mesa/mesa-9999.ebuild
22 +++ b/media-libs/mesa/mesa-9999.ebuild
23 @@ -300,6 +300,12 @@ pkg_pretend() {
24 fi
25 }
26
27 +python_check_deps() {
28 + if use test; then
29 + has_version ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
30 + fi
31 +}
32 +
33 pkg_setup() {
34 # warning message for bug 459306
35 if use llvm && has_version sys-devel/llvm[!debug=]; then