dev-ml/gen - 1.1 (zscheile)

Search

Package Information

Description:
Iterators for OCaml, both restartable and consumable
Homepage:
https://github.com/c-cube/gen/
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
1.1 8 amd64 ~arm ~arm64 ~ppc64 ~riscv x86 0/1.1
View Raw Ebuild
# Copyright 1999-2024 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 ~ppc64 ~riscv x86"
IUSE="+ocamlopt"
RESTRICT="test"  # tests fail  > unused-open

RDEPEND="
	>=dev-lang/ocaml-4.07:=[ocamlopt?]
	dev-ml/dune-configurator:=
"
DEPEND="${RDEPEND}"
# BDEPEND="test? ( dev-ml/qtest )"

src_prepare() {
	default

	sed -i -e "s|(libraries seq)||" src/dune || die
}

USE Flags

ocamlopt
Default: Enabled (+)

Dependencies

DEPEND

	>=dev-lang/ocaml-4.07:=[ocamlopt?]
	dev-ml/dune-configurator:=

RDEPEND

	>=dev-lang/ocaml-4.07:=[ocamlopt?]
	dev-ml/dune-configurator:=

Manifest for 1.1

Type File Size Source URLs
DIST gen-1.1.tar.gz 32152 bytes https://github.com/c-cube/gen/archive/v1.1.tar.gz