gentoo/dev-ml/gen/gen-1.1.ebuild
Alfredo Tupone 2533eec7dd
dev-ml/gen: drop extra dev-lang/ocaml deps
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2025-09-29 12:14:38 +02:00

29 lines
621 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Iterators for OCaml, both restartable and consumable"
HOMEPAGE="https://github.com/c-cube/gen/"
SRC_URI="https://github.com/c-cube/gen/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
IUSE="+ocamlopt"
RESTRICT="test" # tests fail > unused-open
RDEPEND="
dev-ml/dune-configurator:=
"
DEPEND="${RDEPEND}"
# BDEPEND="test? ( dev-ml/qtest )"
src_prepare() {
default
sed -i -e "s|(libraries seq)||" src/dune || die
}