Install this version:
emerge -a =dev-ml/diet-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ml/diet-9999
Or alternatively:
emerge --autounmask-write -a =dev-ml/diet-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0/9999 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune git-r3
MY_PN="ocaml-${PN}"
DESCRIPTION="Ocaml Discrete Interval Encoding Trees"
HOMEPAGE="https://github.com/mirage/ocaml-diet"
EGIT_REPO_URI="https://github.com/mirage/ocaml-diet.git"
LICENSE="ISC"
SLOT="0/${PV}"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="dev-ml/stdlib-shims:=[ocamlopt?]"
BDEPEND="test? ( dev-ml/ounit2 )"
src_prepare() {
default
# use ounit2
sed -i '/libraries/s|oUnit|ounit2|' lib_test/dune \
|| die "sed failed for dune"
sed -i 's/ounit/ounit2/' diet.opam \
|| die "sed failed for opam"
}
Manage flags for this package:
euse -i <flag> -p dev-ml/diet |
euse -E <flag> -p dev-ml/diet |
euse -D <flag> -p dev-ml/diet