summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-05-16 21:08:32 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-05-16 21:09:02 +0100
commitd985cd4fb826ba9c29d64622416d58f82662ba6f (patch)
treed79df5ec340b61358d9e005698a87f3dbe71b04c /x11-apps
parentapp-emulation/qemu-guest-agent: version bump to 6.0.0 (diff)
downloadgentoo-d985cd4fb826ba9c29d64622416d58f82662ba6f.tar.gz
gentoo-d985cd4fb826ba9c29d64622416d58f82662ba6f.tar.bz2
gentoo-d985cd4fb826ba9c29d64622416d58f82662ba6f.zip
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@gentoo.org>
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild6
-rw-r--r--x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild6
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 6bb31b86e9f1..3296899fe02c 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 b202d340de99..ff456add5f08 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