commit:     689b52fdb836717fce4001a8ed00c7965e248914
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 11:50:25 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 15:23:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=689b52fd

dev-ml/jingoo: convert to dev-ml/ounit2 for tests

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/jingoo/jingoo-1.4.2.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-ml/jingoo/jingoo-1.4.2.ebuild 
b/dev-ml/jingoo/jingoo-1.4.2.ebuild
index 666330ad24b..21270b6af09 100644
--- a/dev-ml/jingoo/jingoo-1.4.2.ebuild
+++ b/dev-ml/jingoo/jingoo-1.4.2.ebuild
@@ -22,4 +22,11 @@ RDEPEND="dev-ml/ppx_deriving:=
        dev-ml/re:=
        dev-ml/menhir:="
 DEPEND="${RDEPEND}
-       test? ( dev-ml/ounit )"
+       test? ( dev-ml/ounit2 )"
+
+src_prepare() {
+       default
+
+       # Port to dev-ml/ounit2
+       sed -i -e 's/oUnit/ounit2/' tests/dune.in || die
+}

Reply via email to