commit: bcc528f60bbf7223b604a76840195179b5abc429 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Mon Oct 6 21:14:09 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Mon Oct 6 21:21:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcc528f6
sci-mathematics/easycrypt: bump to 2025.10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> sci-mathematics/easycrypt/Manifest | 1 + sci-mathematics/easycrypt/easycrypt-2025.10.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/sci-mathematics/easycrypt/Manifest b/sci-mathematics/easycrypt/Manifest index 649ede13d3f7..4b90e134e2f5 100644 --- a/sci-mathematics/easycrypt/Manifest +++ b/sci-mathematics/easycrypt/Manifest @@ -1,2 +1,3 @@ DIST easycrypt-2025.03.gh.tar.gz 1371575 BLAKE2B 2cde19c1708e9018feabc4c590aeefd593e0fc86ae1d48bf6225888aa3be3277d7adca8cb1d2a8f661cd170a69a7e9f96f49bd94c425efa69db9f7ca7256a1f6 SHA512 32275fd51cd327998d8f5629bd6ee02135028e14e6e2670899eff56ccfa1d385213218cf55499ae795edc8f529ddb8d8f07cb6bc2593aa6e2fcda8d5bf56b80c DIST easycrypt-2025.08.gh.tar.gz 1379375 BLAKE2B b223ab0d03845f51bfc15982fa862f7cb2b7a8d7cd68b69ee551e3f1342748c55115a72d1b024023ffe251e0e9ceeea82650e49094007979d54badf7a6205fd9 SHA512 f23efea0fb98d881c5b3871a9bd04c6d81d9a6da9ed33d2f7e300e5de46499b9f76e1153b3be45ca94ec4b83cb9b0b501ad0e062b0f64987f5dd02450cc97ecf +DIST easycrypt-2025.10.gh.tar.gz 1388382 BLAKE2B c49d8b60dfb3248d1291d14841f79373be50c2ee77848afc49f09eb02a97bde2203208d7567d1cff971e86e16e74d169b1bc88aeee7053c7ba16497e999113c4 SHA512 d1136aa0e2a389ff38b665bc729e070de6f8e8970eeac1b92a4ad9afc1f03d2d2464ac224fec2e3fef4745906b41e2f3a8d48937545c51949c76dbaf471acb08 diff --git a/sci-mathematics/easycrypt/easycrypt-2025.10.ebuild b/sci-mathematics/easycrypt/easycrypt-2025.10.ebuild new file mode 100644 index 000000000000..cdf0ba3d7b07 --- /dev/null +++ b/sci-mathematics/easycrypt/easycrypt-2025.10.ebuild @@ -0,0 +1,51 @@ +# 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}" +else + SRC_URI="https://github.com/EasyCrypt/${PN}/archive/r${PV}.tar.gz + -> ${P}.gh.tar.gz" + S="${WORKDIR}/${PN}-r${PV}" + + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="+ocamlopt" + +RDEPEND=" + >=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/pcre2-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 "failed to update theories" + + default +}
