1 |
commit: c462ffd988d8cecbe687451ce70f6e596aee81a0 |
2 |
Author: Sebastian Parborg <darkdefende <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Sep 5 21:43:22 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 10 00:42:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c462ffd9 |
7 |
|
8 |
dev-lang/ispc: Update live ebuild |
9 |
|
10 |
Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-lang/ispc/ispc-9999.ebuild | 10 ++++++++-- |
14 |
1 file changed, 8 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-lang/ispc/ispc-9999.ebuild b/dev-lang/ispc/ispc-9999.ebuild |
17 |
index c8398b962c6..f5ecbcdb7ea 100644 |
18 |
--- a/dev-lang/ispc/ispc-9999.ebuild |
19 |
+++ b/dev-lang/ispc/ispc-9999.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-PYTHON_COMPAT=( python2_7 ) |
25 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
26 |
|
27 |
inherit cmake toolchain-funcs python-any-r1 |
28 |
|
29 |
@@ -30,13 +30,15 @@ RDEPEND=" |
30 |
DEPEND=" |
31 |
${RDEPEND} |
32 |
${PYTHON_DEPS} |
33 |
+ " |
34 |
+BDEPEND=" |
35 |
sys-devel/bison |
36 |
sys-devel/flex |
37 |
" |
38 |
|
39 |
PATCHES=( |
40 |
"${FILESDIR}/${PN}-1.13.0-cmake-gentoo-release.patch" |
41 |
- "${FILESDIR}/${PN}-1.13.0-llvm-10.patch" |
42 |
+ "${FILESDIR}/${PN}-1.14.0-llvm-10.patch" |
43 |
"${FILESDIR}/${PN}-1.13.0-werror.patch" |
44 |
) |
45 |
|
46 |
@@ -57,3 +59,7 @@ src_install() { |
47 |
doins -r "${BUILD_DIR}"/examples/* |
48 |
fi |
49 |
} |
50 |
+ |
51 |
+src_test() { |
52 |
+ ${EPYTHON} run_tests.py || die "Testing failed." |
53 |
+} |