commit: d985cd4fb826ba9c29d64622416d58f82662ba6f Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sun May 16 20:08:32 2021 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sun May 16 20:09:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d985cd4f
x11-apps/igt-gpu-tools: use ${EPYTHON}, not python3 Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/771594 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild | 6 ++++-- x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild b/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild index 6bb31b86e9f..3296899fe02 100644 --- a/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild +++ b/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,8 @@ if [[ ${PV} = *9999* ]]; then GIT_ECLASS="git-r3" fi -inherit ${GIT_ECLASS} meson +PYTHON_COMPAT=( python3_{7..10} ) +inherit ${GIT_ECLASS} meson python-any-r1 DESCRIPTION="Intel GPU userland tools" @@ -72,6 +73,7 @@ DEPEND="${RDEPEND} sys-devel/flex ) " +BDEPEND="${PYTHON_DEPS}" PATCHES=( "${FILESDIR}/${PV}-python-3.9.patch" ) diff --git a/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild b/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild index b202d340de9..ff456add5f0 100644 --- a/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild +++ b/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,8 @@ if [[ ${PV} = *9999* ]]; then GIT_ECLASS="git-r3" fi -inherit ${GIT_ECLASS} meson +PYTHON_COMPAT=( python3_{7..10} ) +inherit ${GIT_ECLASS} meson python-any-r1 DESCRIPTION="Intel GPU userland tools" @@ -72,6 +73,7 @@ DEPEND="${RDEPEND} sys-devel/flex ) " +BDEPEND="${PYTHON_DEPS}" src_prepare() { sed -e "s/find_program('rst2man-3'/find_program('rst2man.py', 'rst2man-3'/" -i man/meson.build