From 4f0a8bfd6989606dd292287880358a0f79aa4a49 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sun, 12 Dec 2021 02:41:39 +0100 Subject: sci-mathematics/easycrypt: new package; add version 1.0_pre20211210 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć --- sci-mathematics/easycrypt/Manifest | 1 + .../easycrypt/easycrypt-1.0_pre20211210.ebuild | 38 ++++++++++++++++++++++ sci-mathematics/easycrypt/metadata.xml | 18 ++++++++++ 3 files changed, 57 insertions(+) create mode 100644 sci-mathematics/easycrypt/Manifest create mode 100644 sci-mathematics/easycrypt/easycrypt-1.0_pre20211210.ebuild create mode 100644 sci-mathematics/easycrypt/metadata.xml (limited to 'sci-mathematics/easycrypt') diff --git a/sci-mathematics/easycrypt/Manifest b/sci-mathematics/easycrypt/Manifest new file mode 100644 index 000000000000..bc308e15de2f --- /dev/null +++ b/sci-mathematics/easycrypt/Manifest @@ -0,0 +1 @@ +DIST easycrypt-1.0_pre20211210.tar.gz 1185137 BLAKE2B 3557a8b0423109a3b3e6e02f6d1ad88f07847d105015546c90b5a46cf514f1311390d3a6f6476c042420b91a62ad095919f7ab616adee2778165d9d081070730 SHA512 0043eac02e916dc46ed1cb4f278f148f915d09f336e904b1a711c18d62cda177e434fc13682ec095a085e458ba90ca8dd02968206af60f0b80a378f16b205553 diff --git a/sci-mathematics/easycrypt/easycrypt-1.0_pre20211210.ebuild b/sci-mathematics/easycrypt/easycrypt-1.0_pre20211210.ebuild new file mode 100644 index 000000000000..3752d3493756 --- /dev/null +++ b/sci-mathematics/easycrypt/easycrypt-1.0_pre20211210.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +COMMIT="49aec58ea63a64adcf5fbabcc14c6739f337b206" + +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/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" +fi + +LICENSE="CeCILL-B CeCILL-C" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt" + +RDEPEND=" + >=dev-lang/ocaml-4.08.0:=[ocamlopt] + >=sci-mathematics/why3-1.4:= + dev-ml/batteries:= + dev-ml/camlzip:= + dev-ml/dune-build-info:= + dev-ml/dune-site:= + dev-ml/ocaml-inifiles:= + dev-ml/pcre-ocaml:= + dev-ml/yojson:= + dev-ml/zarith:= +" +DEPEND="${RDEPEND}" diff --git a/sci-mathematics/easycrypt/metadata.xml b/sci-mathematics/easycrypt/metadata.xml new file mode 100644 index 000000000000..08fb88e8b7d7 --- /dev/null +++ b/sci-mathematics/easycrypt/metadata.xml @@ -0,0 +1,18 @@ + + + + + + ml@gentoo.org + ML + + + EasyCrypt is a toolset for reasoning about relational properties of + probabilistic computations with adversarial code. Its main application is + the construction and verification of game-based cryptographic proofs. + + + https://github.com/EasyCrypt/easycrypt/issues/ + EasyCrypt/easycrypt + + -- cgit v1.2.3-65-gdbad