Files
guru/dev-ml/ocaml-yaml/ocaml-yaml-3.2.0.ebuild
Thomas Bracht Laumann Jespersen 8915296321 dev-ml/ocaml-yaml: add subslot, restrict tests
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
2025-10-24 04:36:24 +00:00

30 lines
664 B
Bash

# 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}"