commit:     30885e237d4a8637f7e41fd6e01756e95c338a73
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  3 19:20:14 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Aug  3 19:20:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30885e23

dev-ml/ocaml-ctypes: add 0.21.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/ocaml-ctypes/Manifest                   |  1 +
 dev-ml/ocaml-ctypes/ocaml-ctypes-0.21.0.ebuild | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/dev-ml/ocaml-ctypes/Manifest b/dev-ml/ocaml-ctypes/Manifest
index 3abce58e2881..879725f17de8 100644
--- a/dev-ml/ocaml-ctypes/Manifest
+++ b/dev-ml/ocaml-ctypes/Manifest
@@ -1,3 +1,4 @@
 DIST ocaml-ctypes-0.17.1.tar.gz 208101 BLAKE2B 
b9fe6632058a670c988ba9f1ae81b75aa5373de7231cef04d5e2ede61a44cbaa0324c04197a0a202847599a9bbe7dccd18fd3279f3f351493aaec4959caf3ada
 SHA512 
1e197009f7e6b29b43944f757e987934337ebfa11bb2ff2ca8ba3ebc607e37cf1259d07a90d7faf4b91b49ee20d5c65357ad305f34ada0a8d336a3904233150e
 DIST ocaml-ctypes-0.20.0.tar.gz 206559 BLAKE2B 
d9bf1c3f5ae7544e3950766f7eb9bac2c9dbf84130f69b2b8807e55c6a7d659c46d9ba2227d53d578e4e49283730932213eea4c7487beffe4540432b3e700c81
 SHA512 
605ae95b0233f1157749475526ef00ade2f97649d06a782e8fcf97b604cb86a0dcc8f27c4ac6baec11a41b9ef5becb0e5ae55e30f1ee61b30d4ae17a0d1545c2
 DIST ocaml-ctypes-0.20.1.tar.gz 206863 BLAKE2B 
a101872991d4bd83464d26e79fa5052c9dadbd10da1ae734fda8976199640091939777a1ba391d2aab84d7e14fafec6f713681e2ea52f6717f5f36d26e8aa225
 SHA512 
f95e65ce5003a07634afcbee431cb23c54c8335f926074615fc8d76ab777b9d2fce8f75bb25bbb6ed9550a7d6237fb377aa9ad65a426d2d7e387f86c1158fe4a
+DIST ocaml-ctypes-0.21.0.tar.gz 200253 BLAKE2B 
28a668ca30e1dec0149e87d10e942bfb177627cdf55f1b4c9edabf18eb4f5eb03dda848830cf02494db958a0f7e330a85f6bd4c1314356f8b1d37b05d1b547ad
 SHA512 
f5e3a78ef3dda9f7200d75d9a915c547855ce431789829481a3caad3cf732f31425b032668bd8877ee9dd9c25d724ad8b8e09b7c956513d3c012bb5a6869e18d

diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.21.0.ebuild 
b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.21.0.ebuild
new file mode 100644
index 000000000000..0a3d64486722
--- /dev/null
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.21.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Library for binding to C libraries using pure OCaml"
+HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes/";
+SRC_URI="https://github.com/ocamllabs/ocaml-ctypes/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-lang/ocaml-4.03:=
+       >=dev-libs/libffi-3.3_rc0:=
+       dev-ml/bigarray-compat:=
+       dev-ml/integers:=
+"
+DEPEND="${RDEPEND}
+       test? ( dev-ml/ounit2 dev-ml/lwt )"
+REQUIRED_USE="ocamlopt"

Reply via email to