summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-25 13:13:28 +0000
committerSam James <sam@gentoo.org>2021-02-25 13:13:28 +0000
commitab104d93dc1cd8ff6b4e33af6fbb1c255b48ff26 (patch)
tree21263df9fdc4ac382d3aac1ed83f8fa9411b9689 /dev-ml/dune
parentdev-python/scipy: Stabilize 1.6.0 ppc64, #771471 (diff)
downloadgentoo-ab104d93dc1cd8ff6b4e33af6fbb1c255b48ff26.tar.gz
gentoo-ab104d93dc1cd8ff6b4e33af6fbb1c255b48ff26.tar.bz2
gentoo-ab104d93dc1cd8ff6b4e33af6fbb1c255b48ff26.zip
dev-ml/dune: add missing test deps
Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml/dune')
-rw-r--r--dev-ml/dune/dune-2.8.2.ebuild21
1 files 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 43d8128151cd..5a916b8dff1b 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