commit:     b575cf590c75a3e88dc6da0da47e0b7315a0a170
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 25 11:24:01 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Aug 25 11:25:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b575cf59

dev-ml/odoc: add 3.1.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/odoc/Manifest          |  1 +
 dev-ml/odoc/odoc-3.1.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-ml/odoc/Manifest b/dev-ml/odoc/Manifest
index 4319d570ed76..c3de3cfad765 100644
--- a/dev-ml/odoc/Manifest
+++ b/dev-ml/odoc/Manifest
@@ -1,2 +1,3 @@
 DIST odoc-2.4.3.tbz 1764166 BLAKE2B 
b9de37c767e9c17367a0105afda75803c75e2b40c6c40c4bd63f99b503d0686224e74523c4c2f3214220d019fc6890df56c7e599d2b402f0c3e212178eea486e
 SHA512 
e78faa68c726db3034c12f0cbf76efb87e73f03430a734f82eeea4fb8813e5ebb8ad176012ed20cc1d56a874c601489ca3f02c929474f925eec6d51ce6bdb856
 DIST odoc-2.4.4.tbz 1764509 BLAKE2B 
2fd12fc56057dae91eabf9006fb8b299e3e05d9ff74d51be2457fa3c8972b5e5059c10731a80d6c5c4c8eb76b0130617254b33c1fd3b7bdbc473306c16a0ed44
 SHA512 
d5b1e6786c9cb371cb207da91728336a4746c8f3f07d817bb8259b32404445cd99ba2455ad51cbaffedf98e24cec68743fb7b02ad44643b1718d3d875b5580ee
+DIST odoc-3.1.0.tbz 1966856 BLAKE2B 
cd7255cfc27aead5d2a2403be67ca41e580e7920491d686fa7dcb19dee3e79c64f4672cc745154457a42eb8623793ee52846cc2a0a93d470d9a7e6b05bd7798c
 SHA512 
f78318d0a16164a9cd16ee02f611c2e00d32b772fe38e992d6db6ec94b1c00cd9c377fbfe64031b8f245e57b2f3aac9364108327e7f1693533ddcff94c476e05

diff --git a/dev-ml/odoc/odoc-3.1.0.ebuild b/dev-ml/odoc/odoc-3.1.0.ebuild
new file mode 100644
index 000000000000..4018948e7302
--- /dev/null
+++ b/dev-ml/odoc/odoc-3.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="OCaml documentation generator"
+HOMEPAGE="http://github.com/ocaml/odoc/";
+SRC_URI="https://github.com/ocaml/${PN}/releases/download/${PV}/${P}.tbz";
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt test"
+RESTRICT="test"
+
+RDEPEND="
+       dev-ml/astring:=
+       dev-ml/camlp-streams:=[ocamlopt?]
+       dev-ml/cmdliner:=[ocamlopt?]
+       !dev-ml/odoc-parser
+       dev-ml/fmt:=[ocamlopt?]
+       dev-ml/fpath:=
+       dev-ml/ocaml-crunch:=[ocamlopt?]
+       dev-ml/result:=[ocamlopt?]
+       dev-ml/tyxml:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}
+       dev-ml/cppo:=[ocamlopt?]
+"
+BDEPEND=">=dev-ml/dune-3.7"
+
+src_compile() {
+       dune-compile ${PN} odoc-parser
+}

Reply via email to