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?] + ) +"