dev-ml/gapi-ocaml - 0.4.9-r1 (stuff)

Search

Install

Install this version:

emerge -a =dev-ml/gapi-ocaml-0.4.9-r1

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

autounmask =dev-ml/gapi-ocaml-0.4.9-r1

Or alternatively:

emerge --autounmask-write -a =dev-ml/gapi-ocaml-0.4.9-r1

Package Information

Description:
A simple OCaml client for Google Services
Homepage:
https://opam.ocaml.org/packages/gapi-ocaml/ https://github.com/astrada/gapi-ocaml
License:
MIT

Ebuild Details

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

EAPI=8

inherit dune

DESCRIPTION="A simple OCaml client for Google Services"
HOMEPAGE="
	https://opam.ocaml.org/packages/gapi-ocaml/
	https://github.com/astrada/gapi-ocaml
"
SRC_URI="https://github.com/astrada/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64"
IUSE="ocamlopt test"

# gapi-ocaml.opam requires cryptokit >= 1.21. The floor is load-bearing rather
# than decorative: ::gentoo's stable cryptokit is 1.16.1-r2, and 1.19, 1.20.1
# and 1.21.1 are all ~arch, so a user who keywords only this package resolves
# five releases below what upstream asks for. The other opam floors cannot
# bind -- yojson >= 1.6.0 against 2.2.2 and 3.0.0 in tree, cppo >= 1.1.0
# against 1.6.7 and up -- so they stay unversioned. verified 2026-07-27
RDEPEND="
	dev-ml/ocurl:=[ocamlopt?]
	>=dev-ml/cryptokit-1.21:=[ocamlopt?]
	dev-ml/yojson:=[ocamlopt?]
	dev-ml/camlp-streams:=[ocamlopt?]
"
DEPEND="${RDEPEND}"
BDEPEND="
	dev-ml/cppo
	test? ( dev-ml/ounit2 )
"

RESTRICT="!test? ( test )"

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	dev-ml/ocurl:=[ocamlopt?]
	>=dev-ml/cryptokit-1.21:=[ocamlopt?]
	dev-ml/yojson:=[ocamlopt?]
	dev-ml/camlp-streams:=[ocamlopt?]

RDEPEND

	dev-ml/ocurl:=[ocamlopt?]
	>=dev-ml/cryptokit-1.21:=[ocamlopt?]
	dev-ml/yojson:=[ocamlopt?]
	dev-ml/camlp-streams:=[ocamlopt?]

BDEPEND

	dev-ml/cppo
	test? ( dev-ml/ounit2 )