commit: 4f69dd16a71ec97c9331104b70678a138e4bed83
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 11:28:42 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 15:23:30 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f69dd16
dev-ml/ocaml-gettext-camomile: convert to dev-ml/ounit2 for tests
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
index 372ea5df625..fd285b3dbca 100644
--- a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
+++ b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild
@@ -31,7 +31,14 @@ RDEPEND="
DEPEND="
${RDEPEND}
test? (
- dev-ml/ounit[ocamlopt=]
+ dev-ml/ounit2[ocamlopt=]
dev-ml/ocaml-fileutils
)
"
+
+src_prepare() {
+ default
+
+ # Port to dev-ml/ounit2
+ sed -i -e 's/oUnit/ounit2/' test/{,common,test-camomile,test-stub}/dune
|| die
+}