summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-containers/ocaml-containers-3.16.ebuild
blob: aecf324a93400effba48b45bb0c0748bd6724b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DUNE_PKG_NAME="containers"
inherit dune

DESCRIPTION="Modular, clean and powerful extension of the OCaml standard library"
HOMEPAGE="https://github.com/c-cube/ocaml-containers"
SRC_URI="https://github.com/c-cube/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"

RESTRICT="!test? ( test )"

RDEPEND="
	dev-ml/seq:=[ocamlopt?]
	dev-ml/either:=[ocamlopt?]
	dev-ml/dune-configurator:=[ocamlopt?]
"
DEPEND="
	${RDEPEND}
	test? (
		>=dev-ml/qcheck-0.18:=[ocamlopt?]
		dev-ml/yojson:=[ocamlopt?]
		dev-ml/iter:=[ocamlopt?]
		dev-ml/gen:=[ocamlopt?]
		dev-ml/csexp:=[ocamlopt?]
		dev-ml/uutf:=[ocamlopt?]
	)
"