dev-util/glslang: Require Python

Thanks to Arfrever for the suggested fix.

Closes: https://bugs.gentoo.org/698852
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2019-11-17 21:37:12 -08:00
parent 7c21ed4ded
commit 34d0b8a2ea
2 changed files with 13 additions and 2 deletions

View File

@@ -3,7 +3,9 @@
EAPI=7
inherit cmake-multilib cmake-utils
PYTHON_COMPAT=(python{3_6,3_7})
inherit cmake-multilib cmake-utils python-any-r1
SNAPSHOT_COMMIT="b131630e7c749a5dc19faa458024260c71fb170f"
SRC_URI="https://github.com/KhronosGroup/${PN}/archive/${SNAPSHOT_COMMIT}.tar.gz -> ${P}.tar.gz"
@@ -19,6 +21,7 @@ SLOT="0"
PATCHES=( "${FILESDIR}/${P}-fix-relative-includes.patch" )
RDEPEND="!<media-libs/shaderc-2019-r1"
BDEPEND="${PYTHON_DEPS}"
# Bug 698850
RESTRICT="test"

View File

@@ -3,7 +3,9 @@
EAPI=7
inherit cmake-multilib cmake-utils git-r3
PYTHON_COMPAT=(python{3_6,3_7})
inherit cmake-multilib cmake-utils python-any-r1 git-r3
EGIT_REPO_URI="https://github.com/KhronosGroup/glslang.git"
SRC_URI=""
@@ -15,3 +17,9 @@ LICENSE="BSD"
SLOT="0"
PATCHES=( "${FILESDIR}/${P}-fix-relative-includes.patch" )
RDEPEND="!<media-libs/shaderc-2019-r1"
BDEPEND="${PYTHON_DEPS}"
# Bug 698850
RESTRICT="test"