From 62eca7a2123909eff8a54e83b2862c49ce4e9f2b Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 17 Jun 2019 10:24:14 -0400 Subject: [PATCH] media-libs/mesa: Port to EAPI=7 Closes: https://bugs.gentoo.org/681540 Signed-off-by: Matt Turner --- media-libs/mesa/mesa-9999.ebuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 20146f77c70..280c8eca992 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,17 +209,19 @@ RDEPEND="${RDEPEND} unset {LLVM,CLANG}_DEPSTR{,_AMDGPU} DEPEND="${RDEPEND} - ${PYTHON_DEPS} opencl? ( >=sys-devel/gcc-4.6 ) + valgrind? ( dev-util/valgrind ) + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-base/xorg-proto +" +BDEPEND=" + ${PYTHON_DEPS} sys-devel/bison 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() { -- 2.21.0