Files
guru/dev-ml/eqaf/eqaf-0.10.ebuild
Thomas Bracht Laumann Jespersen 1ccc24fce0 dev-ml/eqaf: add subslot, impl testing
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
2025-10-19 09:52:36 +00:00

35 lines
709 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Constant time equal function to avoid timing attacks in OCaml"
HOMEPAGE="https://github.com/mirage/eqaf"
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 )"
DOCS=( README.md CHANGES.md )
RDEPEND="
>=dev-lang/ocaml-4.3:=[ocamlopt?]
>=dev-ml/cstruct-1.10:=[ocamlopt?]
"
DEPEND="
${RDEPEND}
test? (
>=dev-ml/ocaml-base64-3.0.0:=[ocamlopt?]
dev-ml/alcotest:=[ocamlopt?]
dev-ml/crowbar:=[ocamlopt?]
>=dev-ml/fmt-0.8.7:=[ocamlopt?]
)
"