1 |
commit: 78b9d425382db8eec78dd92aa6f4ec4de4ee4aee |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 29 18:43:25 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 29 18:43:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b9d425 |
7 |
|
8 |
dev-util/coccinelle: restrict tests for now |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
.../{coccinelle-1.1.1.ebuild => coccinelle-1.1.1-r1.ebuild} | 6 +++++- |
13 |
1 file changed, 5 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-util/coccinelle/coccinelle-1.1.1.ebuild b/dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild |
16 |
similarity index 92% |
17 |
rename from dev-util/coccinelle/coccinelle-1.1.1.ebuild |
18 |
rename to dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild |
19 |
index acf57cebffd6..a8e567e69c5b 100644 |
20 |
--- a/dev-util/coccinelle/coccinelle-1.1.1.ebuild |
21 |
+++ b/dev-util/coccinelle/coccinelle-1.1.1-r1.ebuild |
22 |
@@ -3,6 +3,7 @@ |
23 |
|
24 |
EAPI=8 |
25 |
|
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
PYTHON_COMPAT=( python3_{8..11} ) |
28 |
inherit autotools bash-completion-r1 elisp-common python-single-r1 |
29 |
|
30 |
@@ -15,7 +16,8 @@ SLOT="0" |
31 |
KEYWORDS="~amd64 ~x86" |
32 |
IUSE="doc emacs +ocamlopt pcre python test" |
33 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
34 |
-RESTRICT="strip !test? ( test )" |
35 |
+# Test failures need investigation |
36 |
+RESTRICT="strip !test? ( test ) test" |
37 |
|
38 |
RDEPEND=" |
39 |
>=dev-lang/ocaml-3.12:=[ocamlopt?] |
40 |
@@ -92,6 +94,8 @@ src_compile() { |
41 |
} |
42 |
|
43 |
src_test() { |
44 |
+ # TODO: See Fedora's method? |
45 |
+ # https://src.fedoraproject.org/rpms/coccinelle/blob/rawhide/f/coccinelle.spec#_231 |
46 |
emake VERBOSE=yes check $(usev python pycocci-check) |
47 |
} |