commit:     346a94086d8568db73e1e4dc367a15fbe827fbb2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  9 22:05:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  9 22:08:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346a9408

dev-ml/num: fix tests

Closes: https://bugs.gentoo.org/775146
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/num/num-1.4-r1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-ml/num/num-1.4-r1.ebuild b/dev-ml/num/num-1.4-r1.ebuild
index 1221bd84c22..1d40da0b807 100644
--- a/dev-ml/num/num-1.4-r1.ebuild
+++ b/dev-ml/num/num-1.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit dune findlib
+inherit findlib
 
 DESCRIPTION="Library for arbitrary-precision integer and rational arithmetic"
 HOMEPAGE="https://github.com/ocaml/num";
@@ -18,6 +18,11 @@ src_compile() {
        emake CFLAGS="${CFLAGS}"
 }
 
+src_test() {
+       # Override needed to not use dune
+       emake test
+}
+
 src_install() {
        findlib_src_preinst
        OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}"

Reply via email to