summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-06-17 18:32:36 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-06-17 18:33:01 +0200
commitb9f665088d77b29d62aec6054cf9bd168b9c9201 (patch)
treea37b6e1c6b58b09a2d04bf0474a678543d37c819 /dev-ml/cstruct
parentpackage.mask: Last rite dev-python/flake8-polyfill (diff)
downloadgentoo-b9f665088d77b29d62aec6054cf9bd168b9c9201.tar.gz
gentoo-b9f665088d77b29d62aec6054cf9bd168b9c9201.tar.bz2
gentoo-b9f665088d77b29d62aec6054cf9bd168b9c9201.zip
dev-ml/cstruct: add test deps
Closes: https://bugs.gentoo.org/934406 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/cstruct')
-rw-r--r--dev-ml/cstruct/cstruct-6.2.0-r1.ebuild (renamed from dev-ml/cstruct/cstruct-6.2.0.ebuild)13
1 files changed, 12 insertions, 1 deletions
diff --git a/dev-ml/cstruct/cstruct-6.2.0.ebuild b/dev-ml/cstruct/cstruct-6.2.0-r1.ebuild
index 6d78859ac5fc..b397c637c091 100644
--- a/dev-ml/cstruct/cstruct-6.2.0.ebuild
+++ b/dev-ml/cstruct/cstruct-6.2.0-r1.ebuild
@@ -12,7 +12,18 @@ SRC_URI="https://github.com/mirage/ocaml-cstruct/releases/download/v${PV}/${P}.t
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
-IUSE="+ocamlopt"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? (
+ dev-ml/alcotest
+ dev-ml/cppo
+ dev-ml/ocaml-migrate-parsetree
+ dev-ml/ppx_sexp_conv
+ dev-ml/ppxlib
+ dev-ml/sexplib
+ )
+"
src_compile() {
dune-compile ${PN}