commit:     5d21ede9cbe72b989baaafb125a4a4e356d2fec1
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 17 14:24:14 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Jun 19 16:37:25 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d21ede9

media-libs/mesa: Port to EAPI=7

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

 media-libs/mesa/mesa-9999.ebuild | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 20146f77c70..d1efde2b6aa 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
 
@@ -209,6 +209,11 @@ RDEPEND="${RDEPEND}
 unset {LLVM,CLANG}_DEPSTR{,_AMDGPU}
 
 DEPEND="${RDEPEND}
+       valgrind? ( dev-util/valgrind )
+       x11-libs/libXrandr[${MULTILIB_USEDEP}]
+       x11-base/xorg-proto
+"
+BDEPEND="
        ${PYTHON_DEPS}
        opencl? (
                >=sys-devel/gcc-4.6
@@ -217,9 +222,6 @@ DEPEND="${RDEPEND}
        sys-devel/flex
        sys-devel/gettext
        virtual/pkgconfig
-       valgrind? ( dev-util/valgrind )
-       x11-base/xorg-proto
-       x11-libs/libXrandr[${MULTILIB_USEDEP}]
        $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
 "
 
@@ -307,7 +309,7 @@ pkg_pretend() {
 }
 
 python_check_deps() {
-       has_version --host-root ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
+       has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {

Reply via email to