summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2020-09-05 23:43:22 +0200
committerSam James <sam@gentoo.org>2020-09-10 00:42:12 +0000
commitc462ffd988d8cecbe687451ce70f6e596aee81a0 (patch)
tree8e584c07ac9023159c39c6ee9da4f9ab0eace359 /dev-lang
parentdev-lang/ispc: Version bump to 1.14.0 (diff)
downloadgentoo-c462ffd988d8cecbe687451ce70f6e596aee81a0.tar.gz
gentoo-c462ffd988d8cecbe687451ce70f6e596aee81a0.tar.bz2
gentoo-c462ffd988d8cecbe687451ce70f6e596aee81a0.zip
dev-lang/ispc: Update live ebuild
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ispc/ispc-9999.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-lang/ispc/ispc-9999.ebuild b/dev-lang/ispc/ispc-9999.ebuild
index c8398b962c6a..f5ecbcdb7ea7 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."
+}