dev-ml/ocamlc-loc - 9999 (nest)

Search

Install

Install this version:

emerge -a =dev-ml/ocamlc-loc-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ml/ocamlc-loc-9999

Or alternatively:

emerge --autounmask-write -a =dev-ml/ocamlc-loc-9999

Package Information

Description:
Parse ocaml compiler output into structured form
Homepage:
https://github.com/ocaml/dune
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 0/9999
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DUNE_PKG_NAME="ocamlc-loc"

inherit dune edo git-r3

DESCRIPTION="Parse ocaml compiler output into structured form"
HOMEPAGE="https://github.com/ocaml/dune"
EGIT_REPO_URI="https://github.com/ocaml/${PN}.git"

LICENSE="MIT"
SLOT="0/${PV}"
IUSE="+ocamlopt"
RESTRICT="test" # tests in main dune package

DEPEND="dev-ml/csexp:0=[ocamlopt?]"
RDEPEND="${DEPEND}
	>=dev-ml/dune-3.20:0=
	dev-ml/dune-private-libs:0=[ocamlopt?]
	dev-ml/pp:0=[ocamlopt?]"

src_prepare() {
	default

	# don't use vendored libs
	edo rm -rf vendor/csexp
	edo rm -rf vendor/pp
}

src_configure() { :; }

src_compile() {
	dune-compile ${DUNE_PKG_NAME}
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-ml/ocamlc-loc | euse -E <flag> -p dev-ml/ocamlc-loc | euse -D <flag> -p dev-ml/ocamlc-loc

Global/Standard Flags

ocamlopt
Default: Enabled (+)

Inherited Eclasses

edo

Dependencies

DEPEND

dev-ml/csexp:0=[ocamlopt?]

RDEPEND

dev-ml/csexp:0=[ocamlopt?]
	>=dev-ml/dune-3.20:0=
	dev-ml/dune-private-libs:0=[ocamlopt?]
	dev-ml/pp:0=[ocamlopt?]