summaryrefslogtreecommitdiff
path: root/dev-ml/gapi-ocaml/gapi-ocaml-0.4.5.ebuild
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-06-25 20:58:24 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-06-25 20:58:40 +0200
commit06fb4a8af2e5208bb583183e4b0f30fd4d142a47 (patch)
tree906f13998de4e2190a7c35a7e856834275522c9a /dev-ml/gapi-ocaml/gapi-ocaml-0.4.5.ebuild
parentcaed9319ac1193b142a3682a7aeb801e15fecb6b (diff)
downloadgentoo-06fb4a8af2e5208bb583183e4b0f30fd4d142a47.tar.gz
gentoo-06fb4a8af2e5208bb583183e4b0f30fd4d142a47.tar.bz2
gentoo-06fb4a8af2e5208bb583183e4b0f30fd4d142a47.zip
dev-ml/gapi-ocaml: add 0.4.5
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/gapi-ocaml/gapi-ocaml-0.4.5.ebuild')
-rw-r--r--dev-ml/gapi-ocaml/gapi-ocaml-0.4.5.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-ml/gapi-ocaml/gapi-ocaml-0.4.5.ebuild b/dev-ml/gapi-ocaml/gapi-ocaml-0.4.5.ebuild
new file mode 100644
index 000000000000..6bd44fca60de
--- /dev/null
+++ b/dev-ml/gapi-ocaml/gapi-ocaml-0.4.5.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 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 )"