commit:     4af48a0e37e54dd809fc25850e5c795916e2c4c1
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Thu Oct 23 04:30:29 2025 +0000
Commit:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
CommitDate: Thu Oct 23 04:32:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4af48a0e

dev-ml/otoml: add subslot, tests

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

 dev-ml/otoml/otoml-1.0.5.ebuild | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/dev-ml/otoml/otoml-1.0.5.ebuild b/dev-ml/otoml/otoml-1.0.5.ebuild
index 4ff84f2891..73180b7c9b 100644
--- a/dev-ml/otoml/otoml-1.0.5.ebuild
+++ b/dev-ml/otoml/otoml-1.0.5.ebuild
@@ -10,9 +10,11 @@ HOMEPAGE="https://github.com/dmbaturin/otoml";
 SRC_URI="https://github.com/dmbaturin/${PN}/archive/${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 CHANGELOG.md )
 
@@ -22,4 +24,9 @@ RDEPEND="
        >=dev-lang/ocaml-4.08:=[ocamlopt?]
        >=dev-ml/dune-2.0.0
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+       ${RDEPEND}
+       test? (
+               dev-ml/ounit2:=[ocamlopt?]
+       )
+"

Reply via email to