summaryrefslogtreecommitdiff
blob: 012c60845bd565cdaa6dbf6f42b1f4004a915cd3 (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="Multi-engine SMT-based automatic model checker"
HOMEPAGE="https://kind2-mc.github.io/kind2/
	https://github.com/kind2-mc/kind2/"

if [[ ${PV} == *9999* ]] ; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/kind2-mc/${PN}.git"
else
	SRC_URI="https://github.com/kind2-mc/${PN}/archive/v${PV}.tar.gz
		-> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="Apache-2.0"
SLOT="0/${PV}"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-ml/menhir:=
	dev-ml/num:=
	dev-ml/yojson:=
	dev-ml/zmq:=
"
DEPEND="${RDEPEND}"
BDEPEND="
	dev-ml/dune-build-info
	test? ( dev-ml/ounit2 )
"