commit: ab104d93dc1cd8ff6b4e33af6fbb1c255b48ff26 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Feb 25 13:13:28 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Feb 25 13:13:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab104d93
dev-ml/dune: add missing test deps Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-ml/dune/dune-2.8.2.ebuild | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/dev-ml/dune/dune-2.8.2.ebuild b/dev-ml/dune/dune-2.8.2.ebuild index 43d8128151c..5a916b8dff1 100644 --- a/dev-ml/dune/dune-2.8.2.ebuild +++ b/dev-ml/dune/dune-2.8.2.ebuild @@ -12,11 +12,22 @@ SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 ~x86" - -RDEPEND=">=dev-lang/ocaml-4.08:= - !dev-ml/jbuilder" -DEPEND="${RDEPEND} - dev-ml/findlib" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lang/ocaml-4.08:= + !dev-ml/jbuilder +" +DEPEND=" + ${RDEPEND} + dev-ml/findlib + test? ( + dev-ml/core_bench + dev-ml/ppx_bench + dev-ml/ppx_expect + ) +" QA_FLAGS_IGNORED=/usr/bin/dune
