summaryrefslogtreecommitdiff
blob: d75c2b08a435e60ff025a51462598da4c511fbe8 (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
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="Jane Street's alternative to the standard library"
HOMEPAGE="https://github.com/janestreet/core"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86"
IUSE="+ocamlopt"

# TODO: Wants quickcheck_deprecated?
RESTRICT="test"

RDEPEND="
	>=dev-lang/ocaml-4.11
	>=dev-ml/base-0.15.1:${SLOT}
	dev-ml/base_bigstring:${SLOT}
	dev-ml/base_quickcheck:=
	dev-ml/bin_prot:=
	dev-ml/ppxlib:=
	dev-ml/ppx_bin_prot:=
	dev-ml/ppx_bench:=
	dev-ml/ppx_custom_printf:=
	dev-ml/ppx_disable_unused_warnings:=
	dev-ml/ppx_fields_conv:=
	dev-ml/ppx_fixed_literal:=
	dev-ml/ppx_let:=
	dev-ml/ppx_log:=
	dev-ml/ppx_jane:${SLOT}
	dev-ml/ppx_module_timer:${SLOT}[ocamlopt?]
	dev-ml/ppx_optional:${SLOT}[ocamlopt?]
	dev-ml/ppx_pipebang:${SLOT}[ocamlopt?]
	dev-ml/ppx_sexp_message:${SLOT}[ocamlopt?]
	dev-ml/ppx_sexp_value:${SLOT}[ocamlopt?]
	dev-ml/ppx_stable:${SLOT}[ocamlopt?]
	dev-ml/ppx_string:${SLOT}[ocamlopt?]
	dev-ml/ppx_ignore_instrumentation:${SLOT}[ocamlopt?]
	dev-ml/typerep:${SLOT}[ocamlopt?]
"
DEPEND="${RDEPEND}"