summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-yaml/ocaml-yaml-3.2.0.ebuild
blob: 2a95ae824b6fe7ea09d77281813cb879938cdb0f (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
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DUNE_PKG_NAME="yaml"
inherit dune

DESCRIPTION="Parse and generate YAML 1.1/1.2 files"
HOMEPAGE="https://github.com/avsm/ocaml-yaml"
SRC_URI="https://github.com/avsm/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

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

# some test deps not (yet) packaged, junit_alcotest
RESTRICT="test"

RDEPEND="
	>=dev-ml/ocaml-ctypes-0.14.0:=[ocamlopt?]
	dev-ml/bos
	dev-ml/sexplib:=[ocamlopt?]
	dev-ml/ppx_sexp_conv:=[ocamlopt?]
	>=dev-ml/dune-2.0
	>=dev-lang/ocaml-4.13.0:=[ocamlopt?]
"
DEPEND="${RDEPEND}"