Install this version:
emerge -a =dev-ml/sarif-0.3.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ml/sarif-0.3.1
Or alternatively:
emerge --autounmask-write -a =dev-ml/sarif-0.3.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.3.1 | 8 | ~amd64 | 0/0.3.1 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Static Analysis Results Interchange Format (SARIF) For OCaml"
HOMEPAGE="https://github.com/gborough/sarif"
SRC_URI="https://github.com/gborough/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="dev-ml/atd:0=[ocamlopt?]
dev-ml/ppx_deriving:0=[ocamlopt?]
dev-ml/re:0=[ocamlopt?]
dev-ml/timedesc:0=[ocamlopt?]
dev-ml/uri:0=[ocamlopt?]
<dev-ml/yojson-3:0=[ocamlopt?]"
BDEPEND="test? ( dev-ml/alcotest
dev-ml/ppx_expect )"
src_prepare() {
default
# remove non-existed dependency
sed -i '/ppx_expect.common/d' test/dune || die "sed failed"
}
Manage flags for this package:
euse -i <flag> -p dev-ml/sarif |
euse -E <flag> -p dev-ml/sarif |
euse -D <flag> -p dev-ml/sarif
dev-ml/atd:0=[ocamlopt?] dev-ml/ppx_deriving:0=[ocamlopt?] dev-ml/re:0=[ocamlopt?] dev-ml/timedesc:0=[ocamlopt?] dev-ml/uri:0=[ocamlopt?] <dev-ml/yojson-3:0=[ocamlopt?]
test? ( dev-ml/alcotest dev-ml/ppx_expect )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sarif-0.3.1.tar.gz | 206090 bytes | https://github.com/gborough/sarif/archive/0.3.1.tar.gz |