From c5714c614bc9da528b9d5a581ffd391b9f0d6c1d Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Tue, 5 Apr 2022 20:47:39 +0200 Subject: [PATCH] dev-ml/domain-name: fix tests Closes: https://bugs.gentoo.org/836822 Signed-off-by: Alessandro Barbieri --- dev-ml/domain-name/domain-name-0.4.0.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-ml/domain-name/domain-name-0.4.0.ebuild b/dev-ml/domain-name/domain-name-0.4.0.ebuild index 7b2fdcbbd6..7838515259 100644 --- a/dev-ml/domain-name/domain-name-0.4.0.ebuild +++ b/dev-ml/domain-name/domain-name-0.4.0.ebuild @@ -12,4 +12,12 @@ SRC_URI="https://github.com/hannesm/domain-name/releases/download/v${PV}/${P}.tb LICENSE="ISC" SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="ocamlopt" +IUSE="ocamlopt test" + +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/alcotest ) +"