summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2021-12-12 02:41:39 +0100
committerMaciej Barć <xgqt@gentoo.org>2021-12-12 02:59:47 +0100
commit4f0a8bfd6989606dd292287880358a0f79aa4a49 (patch)
tree7187c31f9297f0a18c1222f3373fbc9f71bf479f /sci-mathematics
parentdev-ml/yojson: update metadata.xml; add ML Project to maintainers (diff)
downloadgentoo-4f0a8bfd6989606dd292287880358a0f79aa4a49.tar.gz
gentoo-4f0a8bfd6989606dd292287880358a0f79aa4a49.tar.bz2
gentoo-4f0a8bfd6989606dd292287880358a0f79aa4a49.zip
sci-mathematics/easycrypt: new package; add version 1.0_pre20211210
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/easycrypt/Manifest1
-rw-r--r--sci-mathematics/easycrypt/easycrypt-1.0_pre20211210.ebuild38
-rw-r--r--sci-mathematics/easycrypt/metadata.xml18
3 files changed, 57 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <longdescription>
+ 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.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/EasyCrypt/easycrypt/issues/</bugs-to>
+ <remote-id type="github">EasyCrypt/easycrypt</remote-id>
+ </upstream>
+</pkgmetadata>