summaryrefslogtreecommitdiff
path: root/dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2025-06-08 15:40:17 +0200
committerAlfredo Tupone <tupone@gentoo.org>2025-06-08 15:40:17 +0200
commit2ad6583f7b0eddf08105be4ea5c054e642b0a5dc (patch)
tree80588dbc7d68aa0870bd907b6f8b1d2197a304b4 /dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild
parentde51de95ebc4d1fabce83da2e65837985667d2e5 (diff)
downloadgentoo-2ad6583f7b0eddf08105be4ea5c054e642b0a5dc.tar.gz
gentoo-2ad6583f7b0eddf08105be4ea5c054e642b0a5dc.tar.bz2
gentoo-2ad6583f7b0eddf08105be4ea5c054e642b0a5dc.zip
dev-ml/gapi-ocaml: add 0.4.6
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild')
-rw-r--r--dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild b/dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild
new file mode 100644
index 000000000000..d2f82ac6ce27
--- /dev/null
+++ b/dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild
@@ -0,0 +1,33 @@
+# 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-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 )"