mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-mathematics/easycrypt: bump to 2025.02
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST easycrypt-2024.09.tar.gz 1310681 BLAKE2B cfe81762d4f4567473fc1f98c889145ed8c42f0a48b9e8089de8eca6c15f088d36c4eb7f4b4c4889b6444323b38a2ab17d0703cf97470ddf3084094a37436d69 SHA512 ce1554046c87fbeb27763ffd7a40fb0d8abc8bdedce6884e864968c23b31aee2c66108e52233d4dd1cb408a48b2ac3cba3ef46aee0963a5c21f3c2d1a843c308
|
||||
DIST easycrypt-2025.02.tar.gz 1362823 BLAKE2B d0a9739178b459e9f1288286f9a40bd45735d8a4d1acdcc322a079b2fc7712b1a9ffb655cfc67ae9384234981496218cd9dc8c7385d2954b3544a6339a8f98c7 SHA512 61d35a3e1bb2e91be94a52f3cc4c75e209a95908a6fc558472dab863b6d9d82f0a39bbe35ba98f6ce92eb398465013fdddd73bc99b789a55bcca6975c0d72196
|
||||
|
||||
50
sci-mathematics/easycrypt/easycrypt-2025.02.ebuild
Normal file
50
sci-mathematics/easycrypt/easycrypt-2025.02.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2025 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
|
||||
SRC_URI="https://github.com/EasyCrypt/${PN}/archive/r${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-r${PV}"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.08.0:=[ocamlopt?]
|
||||
>=sci-mathematics/why3-1.8.0:=
|
||||
dev-ml/batteries:=
|
||||
dev-ml/camlp-streams:=
|
||||
dev-ml/camlzip:=
|
||||
dev-ml/dune-build-info:=
|
||||
dev-ml/dune-site:=
|
||||
dev-ml/num:=
|
||||
dev-ml/ocaml-inifiles:=
|
||||
dev-ml/pcre-ocaml:=
|
||||
dev-ml/yojson:=
|
||||
dev-ml/zarith:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
local theories="[\"$(ocamlc -where)/easycrypt/theories\"]"
|
||||
sed -i "s|EcRelocate\.Sites\.theories|${theories}|g" src/ec.ml || die
|
||||
|
||||
default
|
||||
}
|
||||
Reference in New Issue
Block a user