summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-11-26 21:45:51 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-11-26 21:45:51 +0100
commit33dade2d295a7cf6b4570187e189226234c5ad96 (patch)
tree803fa4188ab92c07042b35ca60565a09bd66da85 /dev-lang
parentdev-ml/cryptokit: add 1.19 (diff)
downloadgentoo-33dade2d295a7cf6b4570187e189226234c5ad96.tar.gz
gentoo-33dade2d295a7cf6b4570187e189226234c5ad96.tar.bz2
gentoo-33dade2d295a7cf6b4570187e189226234c5ad96.zip
dev-lang/elpi: add 1.19.6
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/elpi/Manifest1
-rw-r--r--dev-lang/elpi/elpi-1.19.6.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-lang/elpi/Manifest b/dev-lang/elpi/Manifest
index b7517bde9ce7..7011f4c2f074 100644
--- a/dev-lang/elpi/Manifest
+++ b/dev-lang/elpi/Manifest
@@ -1 +1,2 @@
DIST elpi-1.18.2.tar.gz 2630264 BLAKE2B 9921cfb71755f46f29ec8934c5f3e3ea7d57807854c2402660ffebaeb6ce8f64416ceda4e2eaefa91d5b46cf7d9e8caeaadd75b0eddc5c35b234a228dfdf9bcb SHA512 096865d2b777d36ab8c0a63613f268491cb5b4e3a1c8a2adc11b63a3d39d04be5ddc198f0379090da8e3e0b6e7997bad6453d4b48f9f2e5d7d7d4f852af45a41
+DIST elpi-1.19.6.tar.gz 2645680 BLAKE2B 6dfeeff7d5a5a00a4f663acf2c696a30035ea997d775542b9fd49b08b417877217f7eb4ca6dd1a89b1b959b5c4be982cd9488b7ee0774d3de6749148de04f037 SHA512 3371b50d8bcce0d9bc49fcb5f4a27f6317644b748495f2d58a8e7bacf0ff4dd1e506a4f6c0cfefb04e6ff82ad71fd73e4c55185246225c708ab368190457b05c
diff --git a/dev-lang/elpi/elpi-1.19.6.ebuild b/dev-lang/elpi/elpi-1.19.6.ebuild
new file mode 100644
index 000000000000..7721a9d3b009
--- /dev/null
+++ b/dev-lang/elpi/elpi-1.19.6.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Embeddable Lambda Prolog Interpreter in OCaml"
+HOMEPAGE="https://github.com/LPCIC/elpi/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/LPCIC/${PN}.git"
+else
+ SRC_URI="https://github.com/LPCIC/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0/${PV}"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-lang/ocaml-4.08.0:=
+ >=dev-ml/menhir-20211230:=
+ dev-ml/atd:=
+ dev-ml/ppx_deriving:=
+ dev-ml/ppxlib:=
+ dev-ml/re:=
+ dev-ml/stdlib-shims:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ dev-ml/ANSITerminal
+ dev-ml/cmdliner
+ )
+"
+
+DOCS=( AUTHORS.md CHANGES.md ELPI.md INCOMPATIBILITIES.md README.md )
+
+src_install() {
+ dune_src_install
+ einstalldocs
+}