1 |
commit: 76cf489d83918b077242c46c8c4dd5ba243c7c7b |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 16 07:19:56 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 16 07:19:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76cf489d |
7 |
|
8 |
dev-ml/mtime: bump 1.2.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-ml/mtime/Manifest | 1 + |
14 |
dev-ml/mtime/mtime-1.2.0.ebuild | 33 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 34 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/mtime/Manifest b/dev-ml/mtime/Manifest |
18 |
index 5218f058d5c..007cefadab6 100644 |
19 |
--- a/dev-ml/mtime/Manifest |
20 |
+++ b/dev-ml/mtime/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST mtime-1.1.0.tbz 15467 BLAKE2B 975fdb01c6a4806035a5fbc256d192d6c2f45bdfb750045293b10a732c5613108d9bce897d3c1be660af60d6e9bafbf299dedbc0d872d1c09f65f47b11c9a6b6 SHA512 8ed5dae589dd27fc6e748218a9d9fb9d7d954d231fc2100d61c1b336e0ed38a215bc608cdea9965547729177c78c868c1de6a5ceac6735686a3de1c4a791746c |
23 |
+DIST mtime-1.2.0.tbz 16272 BLAKE2B 317201f8d5e7a55636e58748ffd269db5e88aed012e8dd7ed269d1f128f8d21ed0e707679b030b9c822bac98c9b76033e8d2402171c4ee758d8c936fbeee7ee9 SHA512 0f0ed220cd0f899643930814010f8592e1f47b6dc6c4dce8eebfb17a81b0abed093a3dbf9c02490af99bf81ea640372f73b4ab88fd8ef0e0c7c66920692a8778 |
24 |
|
25 |
diff --git a/dev-ml/mtime/mtime-1.2.0.ebuild b/dev-ml/mtime/mtime-1.2.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..a6d491ea6ad |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/mtime/mtime-1.2.0.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit opam |
37 |
+ |
38 |
+DESCRIPTION="OCaml module to access monotonic wall-clock time" |
39 |
+HOMEPAGE="https://erratique.ch/software/mtime https://github.com/dbuenzli/mtime" |
40 |
+SRC_URI="https://erratique.ch/software/mtime/releases/${P}.tbz" |
41 |
+ |
42 |
+LICENSE="ISC" |
43 |
+SLOT="0/${PV}" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
45 |
+IUSE="test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+RDEPEND="dev-lang/ocaml:=[ocamlopt]" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ dev-ml/topkg |
51 |
+ dev-ml/ocamlbuild |
52 |
+ dev-ml/findlib" |
53 |
+ |
54 |
+src_compile() { |
55 |
+ ocaml pkg/pkg.ml build \ |
56 |
+ --with-js_of_ocaml false \ |
57 |
+ --tests $(usex test true false) \ |
58 |
+ || die |
59 |
+} |
60 |
+ |
61 |
+src_test() { |
62 |
+ ocaml pkg/pkg.ml test || die |
63 |
+} |