dev-ml/gapi-ocaml: new package, add 0.4.2

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-27 02:05:48 +02:00
parent 8cdbd992e8
commit ba02285802
4 changed files with 117 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune findlib
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"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
dev-ml/ocurl:=
>=dev-ml/ocamlnet-4.1.4:=
dev-ml/cryptokit:=
dev-ml/yojson:=
"
DEPEND="
${RDEPEND}
test? ( dev-ml/ounit2 )
"
RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}/${P}-ounit2.patch" )