diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-09-13 17:16:14 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-09-13 22:56:59 +0200 |
commit | 22e21fb0e0bdd2c70006255130a8ded31bacffbe (patch) | |
tree | e4db200c45592ab6c104603d266dcdfdc8111846 /dev-ml | |
parent | dev-ml/merlin: pin menhir <20240715 (diff) | |
download | gentoo-22e21fb0e0bdd2c70006255130a8ded31bacffbe.tar.gz gentoo-22e21fb0e0bdd2c70006255130a8ded31bacffbe.tar.bz2 gentoo-22e21fb0e0bdd2c70006255130a8ded31bacffbe.zip |
dev-ml/coq-menhirlib: bump to 20240715
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/coq-menhirlib/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/coq-menhirlib/coq-menhirlib-20240715.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ml/coq-menhirlib/Manifest b/dev-ml/coq-menhirlib/Manifest index 0b5871c9537f..8b8a465bca40 100644 --- a/dev-ml/coq-menhirlib/Manifest +++ b/dev-ml/coq-menhirlib/Manifest @@ -1,2 +1,3 @@ DIST menhir-20220210.tar.bz2 1160357 BLAKE2B a9401b50db4dfdfe56c5c10919d4d385cbb7bf27d1518932e55d6757c08989407cda17c65f72d20e21738618e4f97f20b10098c9185f3882b3391aab7f9f8bc9 SHA512 8a852e995cab57b16adc1b7708d3acdf5f8b65d13dbf907a4155ff45d71dccc65868fe369590b48a3f06d8319f74777ce2e9be05caa9dbe060c0ae3a2b37943f DIST menhir-20231231.tar.bz2 1245465 BLAKE2B 4ac27f693c9b0f34cf6f9c60343cba6c81cc5b4dc278df4da5c16de8484438238efc6e3e985b9f03676f72cc74a0153ea81fd93d057dd2914b86fe1f558d1f9f SHA512 6bcc3d32b9085e407d7ed7abc87bbbb7dcde52da7f5f343cbcf136df4aa2a9b640a94c3b809a125773d186d03bf9b806f9430dbc4a39ded7dd8ef685b1b1a65d +DIST menhir-20240715.tar.bz2 1245971 BLAKE2B b5f1a1fb234dd53e1d3f77b095e2721f8d2af354a3aa36da2b993dc9f699767bb7c98aae13316ff3405b8bcf80f9ba3addc824ace59f5548613f0f93d105adf7 SHA512 b18da35517702dbdab0d9f5819ad711f61f2ed13ec9e51db71b92fa2d6604cbf28aa6d684c36a41364324694ebbc5dc6aaed4dbb3779c14b399e49ded6fd5db6 diff --git a/dev-ml/coq-menhirlib/coq-menhirlib-20240715.ebuild b/dev-ml/coq-menhirlib/coq-menhirlib-20240715.ebuild new file mode 100644 index 000000000000..dbad929b5119 --- /dev/null +++ b/dev-ml/coq-menhirlib/coq-menhirlib-20240715.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="A support library for verified Coq parsers produced by Menhir" +HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.inria.fr/fpottier/menhir.git" +else + SRC_URI="https://gitlab.inria.fr/fpottier/menhir/-/archive/${PV}/menhir-${PV}.tar.bz2" + S="${WORKDIR}/menhir-${PV}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2 LGPL-2-with-linking-exception" +SLOT="0/${PV}" +IUSE="+ocamlopt" + +RDEPEND=" + >=dev-ml/menhir-${PV}:= + sci-mathematics/coq:= +" +DEPEND=" + ${RDEPEND} +" + +src_compile() { + emake -C "${PN}" + edune build @install --profile release -p "${PN}" || die +} + +src_install() { + emake -C "${PN}" DESTDIR="${D}" install + dune_src_install + + dodoc "${PN}/CHANGES.md" "${PN}/README.md" +} |