projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e340201
)
media-libs/mesa: Provide a python_check_deps()
author
Matt Turner
<mattst88@gentoo.org>
Fri, 16 Nov 2018 18:51:55 +0000
(10:51 -0800)
committer
Matt Turner
<mattst88@gentoo.org>
Fri, 16 Nov 2018 18:56:29 +0000
(10:56 -0800)
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@gentoo.org>
media-libs/mesa/mesa-9999.ebuild
patch
|
blob
|
history
diff --git
a/media-libs/mesa/mesa-9999.ebuild
b/media-libs/mesa/mesa-9999.ebuild
index 46f8ece8fa12b564967b839cffa524a35b4ac41c..ab18ab72df4b4ed22196310d75df0eeca6d2c10a 100644
(file)
--- 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