media-libs/vulkan-loader: Remove unnecessary Python dependency

There's an optional "VulkanLoader_generated_source" target that requires
Python 3, but it's not used during the build. Instead the generated
files are checked into git and thus are available in the tarball.

Noticed because of a patch in the chromiumos-overlay that moved
${PYTHON_DEPS} to BDEPEND (which would make sense if Python was actually
used during the build).

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2021-06-24 19:22:00 -07:00
parent 9c3a446c84
commit b888c2beb1
2 changed files with 5 additions and 7 deletions

View File

@@ -5,8 +5,7 @@ EAPI=7
MY_PN=Vulkan-Loader
CMAKE_ECLASS="cmake"
PYTHON_COMPAT=( python3_{8,9} )
inherit flag-o-matic cmake-multilib python-any-r1 toolchain-funcs
inherit flag-o-matic cmake-multilib toolchain-funcs
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
@@ -26,7 +25,7 @@ SLOT="0"
IUSE="layers wayland X"
BDEPEND=">=dev-util/cmake-3.10.2"
DEPEND="${PYTHON_DEPS}
DEPEND="
~dev-util/vulkan-headers-${PV}
wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
X? (

View File

@@ -1,12 +1,11 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN=Vulkan-Loader
CMAKE_ECLASS="cmake"
PYTHON_COMPAT=( python3_{7,8,9} )
inherit flag-o-matic cmake-multilib python-any-r1 toolchain-funcs
inherit flag-o-matic cmake-multilib toolchain-funcs
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
@@ -26,7 +25,7 @@ SLOT="0"
IUSE="layers wayland X"
BDEPEND=">=dev-util/cmake-3.10.2"
DEPEND="${PYTHON_DEPS}
DEPEND="
>=dev-util/vulkan-headers-${PV}
wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
X? (