summaryrefslogtreecommitdiff
path: root/dev-ml/otoml/otoml-1.0.5.ebuild
blob: 73180b7c9b007cadcaa09eb83f9f9141a3e5071e (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
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="TOML parsing, manipulation, and pretty-printing library"
HOMEPAGE="https://github.com/dmbaturin/otoml"
SRC_URI="https://github.com/dmbaturin/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"

RESTRICT="!test? ( test )"

DOCS=( README.md CHANGELOG.md )

RDEPEND="
	dev-ml/menhir:=[ocamlopt?]
	>=dev-ml/uutf-1.0.0:=[ocamlopt?]
	>=dev-lang/ocaml-4.08:=[ocamlopt?]
	>=dev-ml/dune-2.0.0
"
DEPEND="
	${RDEPEND}
	test? (
		dev-ml/ounit2:=[ocamlopt?]
	)
"