1 |
commit: 6b40fdbcc5cc7a9984bc095bbc45eef1985778cc |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 18:38:19 2022 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 30 18:38:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b40fdbc |
7 |
|
8 |
dev-ml/ocaml-ctypes: 0.20.0 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-ml/ocaml-ctypes/Manifest | 1 + |
14 |
dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild | 43 ++++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/ocaml-ctypes/Manifest b/dev-ml/ocaml-ctypes/Manifest |
18 |
index d36f7d612cd4..fd32fb6a117d 100644 |
19 |
--- a/dev-ml/ocaml-ctypes/Manifest |
20 |
+++ b/dev-ml/ocaml-ctypes/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST ocaml-ctypes-0.17.1.tar.gz 208101 BLAKE2B b9fe6632058a670c988ba9f1ae81b75aa5373de7231cef04d5e2ede61a44cbaa0324c04197a0a202847599a9bbe7dccd18fd3279f3f351493aaec4959caf3ada SHA512 1e197009f7e6b29b43944f757e987934337ebfa11bb2ff2ca8ba3ebc607e37cf1259d07a90d7faf4b91b49ee20d5c65357ad305f34ada0a8d336a3904233150e |
23 |
DIST ocaml-ctypes-0.19.1.tar.gz 206762 BLAKE2B 29b4636e711b9b3ecf3de5d66b796d4d8ddf1109fd7b065666577ce9412e0ef3712f704729dac3b9467ac7ace8f501b90bfc1dc82b86dbe1668e5d13be46741f SHA512 cbf422a2c457b215815a04122d0522ed0f274c5927cecd25951472de6cc6fcd1151b67f95d6bbfeeb3b5f15a9fe9bdedb8861e77bd0de9902418962065e4dfc0 |
24 |
+DIST ocaml-ctypes-0.20.0.tar.gz 206559 BLAKE2B d9bf1c3f5ae7544e3950766f7eb9bac2c9dbf84130f69b2b8807e55c6a7d659c46d9ba2227d53d578e4e49283730932213eea4c7487beffe4540432b3e700c81 SHA512 605ae95b0233f1157749475526ef00ade2f97649d06a782e8fcf97b604cb86a0dcc8f27c4ac6baec11a41b9ef5becb0e5ae55e30f1ee61b30d4ae17a0d1545c2 |
25 |
|
26 |
diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..22dbf916bf59 |
29 |
--- /dev/null |
30 |
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.0.ebuild |
31 |
@@ -0,0 +1,43 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit findlib |
38 |
+ |
39 |
+DESCRIPTION="Library for binding to C libraries using pure OCaml" |
40 |
+HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes" |
41 |
+SRC_URI="https://github.com/ocamllabs/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0/${PV}" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
46 |
+IUSE="test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-lang/ocaml-4.02:=[ocamlopt] |
51 |
+ >=dev-libs/libffi-3.3_rc0:= |
52 |
+ dev-ml/bigarray-compat:= |
53 |
+ dev-ml/integers:= |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ test? ( dev-ml/ounit2 dev-ml/lwt )" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ sed -e 's/oUnit/ounit2/g' -i Makefile.tests || die |
60 |
+ default |
61 |
+} |
62 |
+ |
63 |
+src_compile() { |
64 |
+ emake -j1 |
65 |
+} |
66 |
+ |
67 |
+src_test() { |
68 |
+ emake -j1 test |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ findlib_src_install |
73 |
+ dodoc CHANGES.md README.md |
74 |
+} |