1 |
commit: b888c2beb109bb0a1e6d8868dc42d805fea8c33f |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 25 02:22:00 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 26 20:19:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b888c2be |
7 |
|
8 |
media-libs/vulkan-loader: Remove unnecessary Python dependency |
9 |
|
10 |
There's an optional "VulkanLoader_generated_source" target that requires |
11 |
Python 3, but it's not used during the build. Instead the generated |
12 |
files are checked into git and thus are available in the tarball. |
13 |
|
14 |
Noticed because of a patch in the chromiumos-overlay that moved |
15 |
${PYTHON_DEPS} to BDEPEND (which would make sense if Python was actually |
16 |
used during the build). |
17 |
|
18 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
19 |
|
20 |
media-libs/vulkan-loader/vulkan-loader-1.2.179.ebuild | 5 ++--- |
21 |
media-libs/vulkan-loader/vulkan-loader-9999.ebuild | 7 +++---- |
22 |
2 files changed, 5 insertions(+), 7 deletions(-) |
23 |
|
24 |
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.2.179.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.2.179.ebuild |
25 |
index bf6ea8c4f69..5eecd8d168e 100644 |
26 |
--- a/media-libs/vulkan-loader/vulkan-loader-1.2.179.ebuild |
27 |
+++ b/media-libs/vulkan-loader/vulkan-loader-1.2.179.ebuild |
28 |
@@ -5,8 +5,7 @@ EAPI=7 |
29 |
|
30 |
MY_PN=Vulkan-Loader |
31 |
CMAKE_ECLASS="cmake" |
32 |
-PYTHON_COMPAT=( python3_{8,9} ) |
33 |
-inherit flag-o-matic cmake-multilib python-any-r1 toolchain-funcs |
34 |
+inherit flag-o-matic cmake-multilib toolchain-funcs |
35 |
|
36 |
if [[ ${PV} == *9999* ]]; then |
37 |
EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git" |
38 |
@@ -26,7 +25,7 @@ SLOT="0" |
39 |
IUSE="layers wayland X" |
40 |
|
41 |
BDEPEND=">=dev-util/cmake-3.10.2" |
42 |
-DEPEND="${PYTHON_DEPS} |
43 |
+DEPEND=" |
44 |
~dev-util/vulkan-headers-${PV} |
45 |
wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) |
46 |
X? ( |
47 |
|
48 |
diff --git a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild |
49 |
index c4eb156e64f..22fae7e6067 100644 |
50 |
--- a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild |
51 |
+++ b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild |
52 |
@@ -1,12 +1,11 @@ |
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 |
|
59 |
MY_PN=Vulkan-Loader |
60 |
CMAKE_ECLASS="cmake" |
61 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
62 |
-inherit flag-o-matic cmake-multilib python-any-r1 toolchain-funcs |
63 |
+inherit flag-o-matic cmake-multilib toolchain-funcs |
64 |
|
65 |
if [[ ${PV} == *9999* ]]; then |
66 |
EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git" |
67 |
@@ -26,7 +25,7 @@ SLOT="0" |
68 |
IUSE="layers wayland X" |
69 |
|
70 |
BDEPEND=">=dev-util/cmake-3.10.2" |
71 |
-DEPEND="${PYTHON_DEPS} |
72 |
+DEPEND=" |
73 |
>=dev-util/vulkan-headers-${PV} |
74 |
wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) |
75 |
X? ( |