commit:     8abfa2b4c6dbfaf272bff4145e9e1cb41a2de11e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 10 08:17:03 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 10 08:17:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8abfa2b4

dev-ml/ppx_bin_prot: fix test deps, oUnit -> ounit2

Closes: https://bugs.gentoo.org/749171
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/ppx_bin_prot/ppx_bin_prot-0.14.0.ebuild | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/dev-ml/ppx_bin_prot/ppx_bin_prot-0.14.0.ebuild 
b/dev-ml/ppx_bin_prot/ppx_bin_prot-0.14.0.ebuild
index 09c3fc426cd0..667f5d60f08c 100644
--- a/dev-ml/ppx_bin_prot/ppx_bin_prot-0.14.0.ebuild
+++ b/dev-ml/ppx_bin_prot/ppx_bin_prot-0.14.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -28,4 +28,15 @@ RDEPEND="
 DEPEND="${RDEPEND}
        test? (
                dev-ml/ppx_jane
+               dev-ml/core
+               dev-ml/ounit2
+               dev-ml/core_bench
        )"
+
+src_prepare() {
+       sed -i \
+               -e "s:oUnit:ounit2:" \
+               test/dune \
+               || die
+       default
+}

Reply via email to