commit: 4382b4db881c1e48e96a65e255adb98414ce56c5 Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz> AuthorDate: Sat Oct 18 07:02:20 2025 +0000 Commit: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz> CommitDate: Sat Oct 18 07:02:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4382b4db
dev-ml/ocaml-tsort: impl testing Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz> dev-ml/ocaml-tsort/ocaml-tsort-2.2.0.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-ml/ocaml-tsort/ocaml-tsort-2.2.0.ebuild b/dev-ml/ocaml-tsort/ocaml-tsort-2.2.0.ebuild index 3688795eda..7d8c21b0af 100644 --- a/dev-ml/ocaml-tsort/ocaml-tsort-2.2.0.ebuild +++ b/dev-ml/ocaml-tsort/ocaml-tsort-2.2.0.ebuild @@ -13,7 +13,9 @@ SRC_URI="https://github.com/dmbaturin/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar. LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="+ocamlopt" +IUSE="+ocamlopt test" + +RESTRICT="!test? ( test )" DOCS=( README.md CHANGES.md ) @@ -21,4 +23,8 @@ RDEPEND=" >=dev-ml/dune-1.9 >=dev-lang/ocaml-4.3:=[ocamlopt?] " -DEPEND="${RDEPEND}" +DEPEND="${RDEPEND} + test? ( + dev-ml/alcotest:=[ocamlopt?] + ) +"
