commit: c462ffd988d8cecbe687451ce70f6e596aee81a0
Author: Sebastian Parborg <darkdefende <AT> gmail <DOT> com>
AuthorDate: Sat Sep 5 21:43:22 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 00:42:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c462ffd9
dev-lang/ispc: Update live ebuild
Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lang/ispc/ispc-9999.ebuild | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-lang/ispc/ispc-9999.ebuild b/dev-lang/ispc/ispc-9999.ebuild
index c8398b962c6..f5ecbcdb7ea 100644
--- a/dev-lang/ispc/ispc-9999.ebuild
+++ b/dev-lang/ispc/ispc-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit cmake toolchain-funcs python-any-r1
@@ -30,13 +30,15 @@ RDEPEND="
DEPEND="
${RDEPEND}
${PYTHON_DEPS}
+ "
+BDEPEND="
sys-devel/bison
sys-devel/flex
"
PATCHES=(
"${FILESDIR}/${PN}-1.13.0-cmake-gentoo-release.patch"
- "${FILESDIR}/${PN}-1.13.0-llvm-10.patch"
+ "${FILESDIR}/${PN}-1.14.0-llvm-10.patch"
"${FILESDIR}/${PN}-1.13.0-werror.patch"
)
@@ -57,3 +59,7 @@ src_install() {
doins -r "${BUILD_DIR}"/examples/*
fi
}
+
+src_test() {
+ ${EPYTHON} run_tests.py || die "Testing failed."
+}