From dc5b510338c10aaf68c621707197d33d5907ef6e Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Tue, 5 Apr 2022 20:46:20 +0200 Subject: [PATCH] dev-ml/bheap: fix tests Closes: https://bugs.gentoo.org/836828 Signed-off-by: Alessandro Barbieri --- dev-ml/bheap/bheap-2.0.0.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dev-ml/bheap/bheap-2.0.0.ebuild b/dev-ml/bheap/bheap-2.0.0.ebuild index ac26321080..e4f6753027 100644 --- a/dev-ml/bheap/bheap-2.0.0.ebuild +++ b/dev-ml/bheap/bheap-2.0.0.ebuild @@ -12,7 +12,12 @@ SRC_URI="https://github.com/backtracking/${PN}/releases/download/${PV}/${P}.tbz" LICENSE="LGPL-2.1-with-linking-exception" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test" -DEPEND="" -RDEPEND="${DEPEND}" +RDEPEND="" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/stdlib-shims ) +" + +RESTRICT="!test? ( test )"