Files
guru/dev-ml/diet/diet-0.4.ebuild
Alessandro Barbieri 25afb42e89 dev-ml/diet: ounit2 patch
Closes: https://bugs.gentoo.org/838817
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-04-16 18:20:06 +02:00

31 lines
639 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MYPN="ocaml-${PN}"
DESCRIPTION="A simple implementation of Discrete Interval Encoding Trees"
HOMEPAGE="
https://opam.ocaml.org/packages/diet/
https://github.com/mirage/ocaml-diet
"
SRC_URI="https://github.com/mirage/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="dev-ml/stdlib-shims:="
DEPEND="
${RDEPEND}
test? ( dev-ml/ounit2 )
"
PATCHES="${FILESDIR}/${P}-ounit2.patch"
RESTRICT="!test? ( test )"