commit:     c351ef28d18b9cde810e6594f0b34dd7bca1d4c3
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Thu Oct 23 05:01:12 2025 +0000
Commit:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
CommitDate: Thu Oct 23 05:01:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c351ef28

dev-ml/ocaml-containers: add subslot, impl tests

Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>

 dev-ml/ocaml-containers/ocaml-containers-3.16.ebuild | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/dev-ml/ocaml-containers/ocaml-containers-3.16.ebuild 
b/dev-ml/ocaml-containers/ocaml-containers-3.16.ebuild
index 80898df8af..f92d8589da 100644
--- a/dev-ml/ocaml-containers/ocaml-containers-3.16.ebuild
+++ b/dev-ml/ocaml-containers/ocaml-containers-3.16.ebuild
@@ -11,13 +11,25 @@ HOMEPAGE="https://github.com/c-cube/ocaml-containers";
 SRC_URI="https://github.com/c-cube/${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
 
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="~amd64"
-IUSE="+ocamlopt"
+IUSE="+ocamlopt test"
+
+RESTRICT="!test? ( test )"
 
 RDEPEND="
        dev-ml/seq:=[ocamlopt?]
        dev-ml/either:=[ocamlopt?]
        dev-ml/dune-configurator:=[ocamlopt?]
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+       ${RDEPEND}
+       test? (
+               >=dev-ml/qcheck-0.18:=[ocamlopt?]
+               dev-ml/yojson:=[ocamlopt?]
+               dev-ml/iter:=[ocamlopt?]
+               dev-ml/gen:=[ocamlopt?]
+               dev-ml/csexp:=[ocamlopt?]
+               dev-ml/uutf:=[ocamlopt?]
+       )
+"

Reply via email to