summaryrefslogtreecommitdiff
path: root/dev-ml/digestif/digestif-1.3.1.ebuild
blob: 37060b713af92d9052b1fb5752cc4f542f139c5a (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 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="Hashes implementations (SHA*, RIPEMD160, BLAKE2* and MD5)"
HOMEPAGE="https://github.com/mirage/digestif"
SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

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

RESTRICT="!test? ( test )"

RDEPEND="
	>=dev-lang/ocaml-4.8:=[ocamlopt?]
	dev-ml/eqaf:=[ocamlopt?]
"

DEPEND="
	${RDEPEND}
	test? (
		>=dev-ml/fmt-0.8.7:=[ocamlopt?]
		dev-ml/alcotest:=[ocamlopt?]
		dev-ml/bos
		dev-ml/astring
		dev-ml/fpath
		dev-ml/rresult
		dev-ml/findlib:=[ocamlopt?]
		dev-ml/crowbar:=[ocamlopt?]
	)
"