summaryrefslogtreecommitdiff
path: root/dev-ml/mdx/mdx-2.5.1.ebuild
blob: bebda7eeb6339a8d3507067a12b0240108f6c9ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="Execute code blocks inside your documentation"
HOMEPAGE="https://github.com/realworldocaml/mdx"
SRC_URI="https://github.com/realworldocaml/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"

RDEPEND="
	>=dev-ml/dune-3.5
	>=dev-lang/ocaml-4.08.0
	dev-ml/findlib:=[ocamlopt?]
	>=dev-ml/fmt-0.8.7:=[ocamlopt?]
	>=dev-ml/csexp-1.3.2:=[ocamlopt?]
	dev-ml/astring
	>=dev-ml/logs-0.7.0:=[cli,ocamlopt?]
	>=dev-ml/cmdliner-1.1.0:=[ocamlopt?]
	>=dev-ml/re-1.7.2:=[ocamlopt?]
	dev-ml/camlp-streams:=[ocamlopt?]
	dev-ml/result:=[ocamlopt?]
	dev-ml/ocaml-version:=[ocamlopt?]
"
DEPEND="
	${RDEPEND}
	>=dev-ml/cppo-1.1.0:=[ocamlopt?]
	test? (
		dev-ml/lwt:=[ocamlopt?]
	)
"