gentoo/dev-ml/cstruct/cstruct-6.2.0-r1.ebuild
Alfredo Tupone b9f665088d
dev-ml/cstruct: add test deps
Closes: https://bugs.gentoo.org/934406
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2024-06-17 18:33:01 +02:00

31 lines
615 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Access C-like structures directly from OCaml"
HOMEPAGE="https://github.com/mirage/ocaml-cstruct"
SRC_URI="https://github.com/mirage/ocaml-cstruct/releases/download/v${PV}/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
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}
}