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

EAPI=8

inherit dune

DESCRIPTION="A library implementing a simplex algorithm"
HOMEPAGE="https://github.com/OCamlPro-Iguernlala/ocplib-simplex"
SRC_URI="https://github.com/OCamlPro-Iguernlala/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0"
KEYWORDS="amd64"
IUSE="ocamlopt test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-ml/findlib:=[ocamlopt?]
	dev-ml/logs:=[ocamlopt?]
"
BDEPEND="test? ( dev-ml/zarith )"

DOCS=( CHANGES.md README.md extra/simplex_invariants.txt extra/TODO.txt )