mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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? (
|
||||
|
||||
@@ -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? (
|
||||
|
||||
Reference in New Issue
Block a user