commit:     b9f665088d77b29d62aec6054cf9bd168b9c9201
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 17 16:32:36 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 16:33:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9f66508

dev-ml/cstruct: add test deps

Closes: https://bugs.gentoo.org/934406
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../{cstruct-6.2.0.ebuild => cstruct-6.2.0-r1.ebuild}       | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/dev-ml/cstruct/cstruct-6.2.0.ebuild 
b/dev-ml/cstruct/cstruct-6.2.0-r1.ebuild
similarity index 68%
rename from dev-ml/cstruct/cstruct-6.2.0.ebuild
rename to 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}

Reply via email to