opam-monorepo-0.4.3nest
download
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune edo
DESCRIPTION="Assemble and manage fully vendored Dune repositories"
HOMEPAGE="https://github.com/tarides/opam-monorepo"
SRC_URI="https://github.com/tarides/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="test" # need proper setup
RDEPEND="dev-ml/opam:0=[ocamlopt?]"
BDEPEND="virtual/pkgconfig
test? ( dev-vcs/git )"
src_test() {
edo git init > /dev/null
edo git config user.email "[email protected]"
edo git config user.name "Your Name"
edo opam init -n --no-opamrc --disable-sandboxing
dune_src_test
}