gentoo/dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild
Alfredo Tupone 46e6c9c179
dev-ml/gapi-ocaml: ocaml < 5.4
Closes: https://bugs.gentoo.org/966857
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2025-12-11 22:19:56 +01:00

35 lines
683 B
Bash

# Copyright 1999-2025 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"
IUSE="ocamlopt test"
RDEPEND="
<dev-lang/ocaml-5.4
dev-ml/ocurl:=[ocamlopt?]
dev-ml/cryptokit:=[ocamlopt?]
dev-ml/yojson:=[ocamlopt?]
dev-ml/camlp-streams:=[ocamlopt?]
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-ml/cppo
test? ( dev-ml/ounit2 )
"
RESTRICT="!test? ( test )"