summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-07-12 18:03:39 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-07-12 18:03:57 +0200
commit90c9e42f05d28bfa7b3f6764594eaf6273d54260 (patch)
tree4b063cc4a6135bf4503cb93618ee2aab34a3b17a /dev-ml/odoc-parser
parentnet-libs/libssh: Stabilize 0.10.6-r1 x86, #935899 (diff)
downloadgentoo-90c9e42f05d28bfa7b3f6764594eaf6273d54260.tar.gz
gentoo-90c9e42f05d28bfa7b3f6764594eaf6273d54260.tar.bz2
gentoo-90c9e42f05d28bfa7b3f6764594eaf6273d54260.zip
dev-ml/odoc-parser: add 2.4.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/odoc-parser')
-rw-r--r--dev-ml/odoc-parser/Manifest1
-rw-r--r--dev-ml/odoc-parser/odoc-parser-2.4.2.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ml/odoc-parser/Manifest b/dev-ml/odoc-parser/Manifest
index 05f96d89e115..a2a509b18226 100644
--- a/dev-ml/odoc-parser/Manifest
+++ b/dev-ml/odoc-parser/Manifest
@@ -1 +1,2 @@
+DIST odoc-2.4.2.tar.gz 1251791 BLAKE2B 13071bb4deca73fa16731e32e43238d1604f94d889d5fb8fdf2c29c8fb241abda61e2c108b83925fb6671598cced7b916803cbc015bd277646c0a3768b1c3fae SHA512 44086ad906e7e1a620d0f635e0e3e89d4bf5bb4f20e6c8de76c54493de8555916bdae314b473fa3b6041fe3e1c0d96dc47016c7e6d589517101c7282583efdae
DIST odoc-parser-2.0.0.tbz 34826 BLAKE2B 0d167fa7d768dfac3b45740707b0a84d300999ef4334ade70286675d906cd7d8c70fcd27e563fb0ab4450f6a0ff8097884af267b376b51e7a91ccfbecb8ac06c SHA512 d2bffa3e9f30471045682e390dcee7a2c1caf3831bca4bd57c16939e782c2e23434e6f1c9887580a1804800b3629ef4c4311a9d418fca5a939f324650d54006e
diff --git a/dev-ml/odoc-parser/odoc-parser-2.4.2.ebuild b/dev-ml/odoc-parser/odoc-parser-2.4.2.ebuild
new file mode 100644
index 000000000000..8f5e20147d25
--- /dev/null
+++ b/dev-ml/odoc-parser/odoc-parser-2.4.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DUNE_PKG_NAME="odoc-parser"
+inherit dune
+
+MYP=odoc-${PV}
+
+DESCRIPTION="Parser for ocaml documentation comments"
+HOMEPAGE="https://github.com/ocaml-doc/odoc-parser"
+SRC_URI="https://github.com/ocaml/odoc/archive/refs/tags/${PV}.tar.gz
+ -> ${MYP}.tar.gz"
+
+S="${WORKDIR}"/${MYP}
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="test"
+
+RDEPEND="
+ dev-ml/astring:=
+ dev-ml/result:=[ocamlopt?]
+ dev-ml/camlp-streams:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-ml/dune-3.7
+ test? (
+ dev-ml/ppx_expect
+ )
+"
+
+src_compile() {
+ dune-compile ${PN}
+}
+
+src_test() {
+ dune-test ${PN}
+}