1 |
commit: d985cd4fb826ba9c29d64622416d58f82662ba6f |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 16 20:08:32 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 16 20:09:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d985cd4f |
7 |
|
8 |
x11-apps/igt-gpu-tools: use ${EPYTHON}, not python3 |
9 |
|
10 |
Reported-by: Agostino Sarubbo |
11 |
Closes: https://bugs.gentoo.org/771594 |
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild | 6 ++++-- |
16 |
x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild | 6 ++++-- |
17 |
2 files changed, 8 insertions(+), 4 deletions(-) |
18 |
|
19 |
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 |
20 |
index 6bb31b86e9f..3296899fe02 100644 |
21 |
--- a/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild |
22 |
+++ b/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild |
23 |
@@ -1,4 +1,4 @@ |
24 |
-# Copyright 1999-2020 Gentoo Authors |
25 |
+# Copyright 1999-2021 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI=7 |
29 |
@@ -7,7 +7,8 @@ if [[ ${PV} = *9999* ]]; then |
30 |
GIT_ECLASS="git-r3" |
31 |
fi |
32 |
|
33 |
-inherit ${GIT_ECLASS} meson |
34 |
+PYTHON_COMPAT=( python3_{7..10} ) |
35 |
+inherit ${GIT_ECLASS} meson python-any-r1 |
36 |
|
37 |
DESCRIPTION="Intel GPU userland tools" |
38 |
|
39 |
@@ -72,6 +73,7 @@ DEPEND="${RDEPEND} |
40 |
sys-devel/flex |
41 |
) |
42 |
" |
43 |
+BDEPEND="${PYTHON_DEPS}" |
44 |
|
45 |
PATCHES=( "${FILESDIR}/${PV}-python-3.9.patch" ) |
46 |
|
47 |
|
48 |
diff --git a/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild b/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild |
49 |
index b202d340de9..ff456add5f0 100644 |
50 |
--- a/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild |
51 |
+++ b/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild |
52 |
@@ -1,4 +1,4 @@ |
53 |
-# Copyright 1999-2020 Gentoo Authors |
54 |
+# Copyright 1999-2021 Gentoo Authors |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
|
57 |
EAPI=7 |
58 |
@@ -7,7 +7,8 @@ if [[ ${PV} = *9999* ]]; then |
59 |
GIT_ECLASS="git-r3" |
60 |
fi |
61 |
|
62 |
-inherit ${GIT_ECLASS} meson |
63 |
+PYTHON_COMPAT=( python3_{7..10} ) |
64 |
+inherit ${GIT_ECLASS} meson python-any-r1 |
65 |
|
66 |
DESCRIPTION="Intel GPU userland tools" |
67 |
|
68 |
@@ -72,6 +73,7 @@ DEPEND="${RDEPEND} |
69 |
sys-devel/flex |
70 |
) |
71 |
" |
72 |
+BDEPEND="${PYTHON_DEPS}" |
73 |
|
74 |
src_prepare() { |
75 |
sed -e "s/find_program('rst2man-3'/find_program('rst2man.py', 'rst2man-3'/" -i man/meson.build |