From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1260583-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 63DDC1382C5
	for <garchives@archives.gentoo.org>; Sat, 13 Mar 2021 15:26:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B7BC2E087B;
	Sat, 13 Mar 2021 15:26:23 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9FFCAE087B
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Mar 2021 15:26:23 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E8D4D33DF47
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Mar 2021 15:26:21 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 115F95B6
	for <gentoo-commits@lists.gentoo.org>; Sat, 13 Mar 2021 15:26:19 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1615649009.2c41c5401218d64b17f7f3724f3b4a6f5960fe31.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-gettext/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild
X-VCS-Directories: dev-ml/ocaml-gettext/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 2c41c5401218d64b17f7f3724f3b4a6f5960fe31
X-VCS-Branch: master
Date: Sat, 13 Mar 2021 15:26:19 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: c164c2c0-6822-4b92-aa7e-e70563b94f3d
X-Archives-Hash: 0e9fcea4469ad18886024877ec8fd881

commit:     2c41c5401218d64b17f7f3724f3b4a6f5960fe31
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 11:24:33 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 15:23:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c41c540

dev-ml/ocaml-gettext: convert to dev-ml/ounit2 for tests

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

 dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild
index 66873aa06ef..7af5b26e0ad 100644
--- a/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild
+++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.3.7-r3.ebuild
@@ -36,11 +36,20 @@ RDEPEND="
 "
 DEPEND="
 	${RDEPEND}
-	test? ( dev-ml/ounit )
+	test? ( dev-ml/ounit2 )
 "
 
 src_prepare() {
 	default
+
+	# Porting to dev-ml/ounit2
+	sed -i \
+		-e 's/OCAMLFIND_CHECK_MODULE(oUnit/OCAMLFIND_CHECK_MODULE(ounit2/' \
+		configure.in || die
+	sed -i \
+		-e 's/oUnit/ounit2/' \
+		test/Makefile || die
+
 	eautoreconf
 }