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