# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit dune DESCRIPTION="Computer-Aided Cryptographic Proofs" HOMEPAGE="https://github.com/EasyCrypt/easycrypt/" if [[ ${PV} == *9999* ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/EasyCrypt/${PN}.git" else if [[ ${PV} == *_p20230324 ]] ; then COMMIT=f62625928cc0970c88839c84897d1f6b17437519 SRC_URI="https://github.com/EasyCrypt/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/${PN}-${COMMIT} else SRC_URI="https://github.com/EasyCrypt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" fi KEYWORDS="~amd64" fi LICENSE="MIT" SLOT="0/${PV}" IUSE="+ocamlopt" RDEPEND=" >=dev-lang/ocaml-4.08.0:=[ocamlopt?] >=sci-mathematics/why3-1.6:=