From 8abfa2b4c6dbfaf272bff4145e9e1cb41a2de11e Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Fri, 10 Mar 2023 09:17:03 +0100 Subject: [PATCH] dev-ml/ppx_bin_prot: fix test deps, oUnit -> ounit2 Closes: https://bugs.gentoo.org/749171 Signed-off-by: Alfredo Tupone --- 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 09c3fc426cd0f..667f5d60f08c9 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 +}