1 |
commit: 0e0c927fff299c468ebd67a93012ec13b2cda600 |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 4 17:41:14 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 4 17:41:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e0c927f |
7 |
|
8 |
dev-ml/bos: bump 0.2.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-ml/bos/Manifest | 1 + |
14 |
dev-ml/bos/bos-0.2.1.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/bos/Manifest b/dev-ml/bos/Manifest |
18 |
index 455b1d3ba51..719a0dd3e16 100644 |
19 |
--- a/dev-ml/bos/Manifest |
20 |
+++ b/dev-ml/bos/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST bos-0.1.6.tbz 39822 BLAKE2B 0e10eb14fb5d429b81c67659c936e8b700c4cd417d1f5be000c8bdb0304de8ad9130e597f6e2e7771380c29c148f4339817bacc458e72a8efa894be3b85965bf SHA512 f1f10a97a32da936a7d5a0c70632e723723ee523c79f9dfd23bc42c039a194e8d69658483e6e856c7911332b799a92bf8cabfe96cc387522d7450b8f3f8f8343 |
23 |
DIST bos-0.2.0.tbz 41008 BLAKE2B badc344e561ba9335a4ded0c8100da91fe2bc882698c94daa42d9db2f1e2c8c627b81eebb5a7067778c332384504391ea402f7363ec552e8517cb048c8e384fe SHA512 f9120f8108c6da5647c9fbcc78736a5f87bf5627fad01035fdab1af6322c93e75df670d7d2910fe474c92c48ffffcf15955a84e698cfc7bfb7c1ac4fe27d472f |
24 |
+DIST bos-0.2.1.tbz 42330 BLAKE2B c376428ef055555f09e4af24391b7bbcc388af955ac5192bd4c3999325757812a87b54e518fa2d5a3a81d1e8d0d65f2cb3b69d5f186129136855af7766e9ac13 SHA512 8daeb8a4c2dd1f2460f6274ada19f4f1b6ebe875ff83a938c93418ce0e6bdb74b8afc5c9a7d410c1c9df2dad030e4fa276b6ed2da580639484e8b5bc92610b1d |
25 |
|
26 |
diff --git a/dev-ml/bos/bos-0.2.1.ebuild b/dev-ml/bos/bos-0.2.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c994f58f509 |
29 |
--- /dev/null |
30 |
+++ b/dev-ml/bos/bos-0.2.1.ebuild |
31 |
@@ -0,0 +1,43 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DESCRIPTION="Basic OS interaction for OCaml" |
38 |
+HOMEPAGE="https://erratique.ch/software/bos https://github.com/dbuenzli/bos" |
39 |
+SRC_URI="https://erratique.ch/software/bos/releases/${P}.tbz" |
40 |
+ |
41 |
+LICENSE="ISC" |
42 |
+SLOT="0/${PV}" |
43 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
44 |
+IUSE="test" |
45 |
+RESTRICT="!test? ( test )" |
46 |
+ |
47 |
+RDEPEND="dev-lang/ocaml:= |
48 |
+ dev-ml/rresult:= |
49 |
+ dev-ml/astring:= |
50 |
+ dev-ml/fpath:= |
51 |
+ dev-ml/fmt:= |
52 |
+ dev-ml/mtime |
53 |
+ dev-ml/logs:=[fmt]" |
54 |
+DEPEND="${RDEPEND}" |
55 |
+BDEPEND="dev-ml/findlib |
56 |
+ dev-ml/ocamlbuild |
57 |
+ dev-ml/topkg |
58 |
+ test? ( dev-ml/mtime )" |
59 |
+ |
60 |
+src_compile() { |
61 |
+ ocaml pkg/pkg.ml build --tests $(usex test true false) || die |
62 |
+} |
63 |
+ |
64 |
+src_test() { |
65 |
+ ocaml pkg/pkg.ml test || die |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ opam-installer -i \ |
70 |
+ --prefix="${ED}/usr" \ |
71 |
+ --libdir="${D}/$(ocamlc -where)" \ |
72 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
73 |
+ ${PN}.install || die |
74 |
+} |