dev-ml/ezjsonm - 1.3.0 (guru)

Search

Install

Install this version:

emerge -a =dev-ml/ezjsonm-1.3.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ml/ezjsonm-1.3.0

Or alternatively:

emerge --autounmask-write -a =dev-ml/ezjsonm-1.3.0

Package Information

Description:
An easy interface on top of the Jsonm library
Homepage:
https://github.com/mirage/ezjsonm
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
1.3.0 8 ~amd64 0/1.3.0
View Raw Ebuild
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="An easy interface on top of the Jsonm library"
HOMEPAGE="https://github.com/mirage/ezjsonm"
SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

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

DEPEND="
	dev-ml/ocaml-hex:=[ocamlopt?]
	>=dev-ml/jsonm-1.0.0:=[ocamlopt?]
	dev-ml/sexplib0:=[ocamlopt?]
	dev-ml/uutf:=[ocamlopt?]

	lwt? ( dev-ml/lwt:=[ocamlopt?] )
"
RDEPEND="${DEPEND}"

RESTRICT="test"

OCAML_SUBPACKAGES=(
	ezjsonm
)

src_prepare() {
	default

	use lwt && OCAML_SUBPACKAGES+=( ezjsonm-lwt )

	# test libs and binaries are built unconditionally otherwise
	rm lib_test/dune
}

src_compile() {
	dune-compile ${OCAML_SUBPACKAGES[@]}
}

src_install() {
	dune-install ${OCAML_SUBPACKAGES[@]}
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-ml/ezjsonm | euse -E <flag> -p dev-ml/ezjsonm | euse -D <flag> -p dev-ml/ezjsonm

Global/Standard Flags

lwt
ocamlopt
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	dev-ml/ocaml-hex:=[ocamlopt?]
	>=dev-ml/jsonm-1.0.0:=[ocamlopt?]
	dev-ml/sexplib0:=[ocamlopt?]
	dev-ml/uutf:=[ocamlopt?]

	lwt? ( dev-ml/lwt:=[ocamlopt?] )

RDEPEND

	dev-ml/ocaml-hex:=[ocamlopt?]
	>=dev-ml/jsonm-1.0.0:=[ocamlopt?]
	dev-ml/sexplib0:=[ocamlopt?]
	dev-ml/uutf:=[ocamlopt?]

	lwt? ( dev-ml/lwt:=[ocamlopt?] )

Manifest for 1.3.0

Type File Size Source URLs
DIST ezjsonm-1.3.0.gh.tar.gz 11100 bytes https://github.com/mirage/ezjsonm/archive/v1.3.0.tar.gz