summaryrefslogtreecommitdiff
blob: 363fc9ba1463d6bed08c67293cb496609ee58e1a (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

OASIS_BUILD_TESTS=1
OASIS_BUILD_DOCS=1

inherit oasis

DESCRIPTION="A modular standard library focused on data structures"
HOMEPAGE="https://github.com/c-cube/ocaml-containers"
SRC_URI="https://github.com/c-cube/ocaml-containers/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD-2"
SLOT="0/${PV}"
# Breaks onanomsg, its sole revdep
#KEYWORDS="~amd64"
IUSE="test"

RDEPEND="
	dev-ml/result:=
	>=dev-ml/sequence-0.9:=
"
DEPEND="${RDEPEND} dev-ml/cppo
	test? ( dev-ml/iTeML dev-ml/ounit dev-ml/gen )"

src_configure() {
	oasis_configure_opts="
		--enable-unix
		--disable-bench
	" oasis_src_configure
}