From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1421125-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 371B0158094
	for <garchives@archives.gentoo.org>; Sun, 24 Jul 2022 00:00:28 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1041C2BC052;
	Sun, 24 Jul 2022 00:00:27 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E54032BC052
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Jul 2022 00:00:26 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id ADBC23402FE
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Jul 2022 00:00:25 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1334A545
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Jul 2022 00:00:24 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1658620727.35dbc70751eeaf9503bb03fa15c8a967810711bd.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/mtime/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ml/mtime/Manifest dev-ml/mtime/mtime-1.4.0.ebuild
X-VCS-Directories: dev-ml/mtime/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 35dbc70751eeaf9503bb03fa15c8a967810711bd
X-VCS-Branch: master
Date: Sun, 24 Jul 2022 00:00:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 3b6bf080-0760-4a38-923e-b7dbbae5721a
X-Archives-Hash: e90e91ff2b13021c9a04afbc3adb5f00

commit:     35dbc70751eeaf9503bb03fa15c8a967810711bd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 23 23:58:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 23 23:58:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35dbc707

dev-ml/mtime: add 1.4.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/mtime/Manifest           |  1 +
 dev-ml/mtime/mtime-1.4.0.ebuild | 31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/dev-ml/mtime/Manifest b/dev-ml/mtime/Manifest
index 84c08ab65e6e..1c9a31f82d13 100644
--- a/dev-ml/mtime/Manifest
+++ b/dev-ml/mtime/Manifest
@@ -1,3 +1,4 @@
 DIST mtime-1.1.0.tbz 15467 BLAKE2B 975fdb01c6a4806035a5fbc256d192d6c2f45bdfb750045293b10a732c5613108d9bce897d3c1be660af60d6e9bafbf299dedbc0d872d1c09f65f47b11c9a6b6 SHA512 8ed5dae589dd27fc6e748218a9d9fb9d7d954d231fc2100d61c1b336e0ed38a215bc608cdea9965547729177c78c868c1de6a5ceac6735686a3de1c4a791746c
 DIST mtime-1.2.0.tbz 16272 BLAKE2B 317201f8d5e7a55636e58748ffd269db5e88aed012e8dd7ed269d1f128f8d21ed0e707679b030b9c822bac98c9b76033e8d2402171c4ee758d8c936fbeee7ee9 SHA512 0f0ed220cd0f899643930814010f8592e1f47b6dc6c4dce8eebfb17a81b0abed093a3dbf9c02490af99bf81ea640372f73b4ab88fd8ef0e0c7c66920692a8778
 DIST mtime-1.3.0.tbz 17308 BLAKE2B f943ccb5d4c9ae28ae4620d1dbe897434d4d828091c8d0f17060a0fa40dde7fdcb73c6f85f7dd6fac8099d9608d6246613e2fc954bedb3d5b05b26149bd24260 SHA512 5b998ef803020de4771525adaa448623d348fa079800e72ba2ba78ff2d76a7d89da6200fe8bbc435d1355ad2c571c029398150d618912e58b5765fcf2210a5d0
+DIST mtime-1.4.0.tbz 15909 BLAKE2B 3c49deaf72d3873c8447f4a6d8ce89d55f3df60df108132ec078d81702a6fb9d532266efdf5290fe396d57a84de2d1912b48ad92f84db6d573d977492407b95b SHA512 0492fa5f5187b909fe2b0550363c7dcb8cffef963d51072272ef3d876b51e1ddf8de4c4e221cffb0144658fccf6a0dc584a5c8094a4b2208156e43bad5b269d4

diff --git a/dev-ml/mtime/mtime-1.4.0.ebuild b/dev-ml/mtime/mtime-1.4.0.ebuild
new file mode 100644
index 000000000000..c3bc91ca7fd8
--- /dev/null
+++ b/dev-ml/mtime/mtime-1.4.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit edo opam
+
+DESCRIPTION="OCaml module to access monotonic wall-clock time"
+HOMEPAGE="https://erratique.ch/software/mtime https://github.com/dbuenzli/mtime"
+SRC_URI="https://erratique.ch/software/mtime/releases/${P}.tbz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-lang/ocaml:=[ocamlopt]"
+DEPEND="${RDEPEND}
+	dev-ml/topkg
+	dev-ml/ocamlbuild
+	dev-ml/findlib"
+
+src_compile() {
+	edo ocaml pkg/pkg.ml build \
+		--tests $(usex test true false)
+}
+
+src_test() {
+	edo ocaml pkg/pkg.ml test
+}