From 1ccc24fce0631eace00077f4b77dd6466045fee6 Mon Sep 17 00:00:00 2001 From: Thomas Bracht Laumann Jespersen Date: Sun, 19 Oct 2025 09:34:51 +0000 Subject: [PATCH] dev-ml/eqaf: add subslot, impl testing Signed-off-by: Thomas Bracht Laumann Jespersen --- dev-ml/eqaf/eqaf-0.10.ebuild | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/dev-ml/eqaf/eqaf-0.10.ebuild b/dev-ml/eqaf/eqaf-0.10.ebuild index 2fb796b30a..9d7fc86c4d 100644 --- a/dev-ml/eqaf/eqaf-0.10.ebuild +++ b/dev-ml/eqaf/eqaf-0.10.ebuild @@ -10,9 +10,11 @@ HOMEPAGE="https://github.com/mirage/eqaf" SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" -SLOT="0" +SLOT="0/${PV}" KEYWORDS="~amd64" -IUSE="+ocamlopt" +IUSE="+ocamlopt test" + +RESTRICT="!test? ( test )" DOCS=( README.md CHANGES.md ) @@ -20,4 +22,13 @@ RDEPEND=" >=dev-lang/ocaml-4.3:=[ocamlopt?] >=dev-ml/cstruct-1.10:=[ocamlopt?] " -DEPEND="${RDEPEND}" + +DEPEND=" + ${RDEPEND} + test? ( + >=dev-ml/ocaml-base64-3.0.0:=[ocamlopt?] + dev-ml/alcotest:=[ocamlopt?] + dev-ml/crowbar:=[ocamlopt?] + >=dev-ml/fmt-0.8.7:=[ocamlopt?] + ) +"