From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 8EC1015810D for ; Tue, 16 May 2023 15:44:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E7EAE087F; Tue, 16 May 2023 15:44:29 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2EF11E087F for ; Tue, 16 May 2023 15:44:29 +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 261F2340DD1 for ; Tue, 16 May 2023 15:44:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E137A70 for ; Tue, 16 May 2023 15:44:26 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1684251862.4dc4a4f1b79a47992c50d6f61c124618c4dbbf41.xgqt@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-2.0.0.ebuild X-VCS-Directories: dev-ml/mtime/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 4dc4a4f1b79a47992c50d6f61c124618c4dbbf41 X-VCS-Branch: master Date: Tue, 16 May 2023 15:44:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 03cb30c8-a1fa-4e4a-9728-f69803701eae X-Archives-Hash: 2830645f86106e69c482c685691660f1 commit: 4dc4a4f1b79a47992c50d6f61c124618c4dbbf41 Author: Maciej Barć gentoo org> AuthorDate: Tue May 16 15:07:45 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Tue May 16 15:44:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc4a4f1 dev-ml/mtime: bump to 2.0.0 Signed-off-by: Maciej Barć gentoo.org> dev-ml/mtime/Manifest | 1 + dev-ml/mtime/mtime-2.0.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-ml/mtime/Manifest b/dev-ml/mtime/Manifest index ea9c8b5f4578..b9d8614b95c4 100644 --- a/dev-ml/mtime/Manifest +++ b/dev-ml/mtime/Manifest @@ -1,2 +1,3 @@ DIST mtime-1.2.0.tbz 16272 BLAKE2B 317201f8d5e7a55636e58748ffd269db5e88aed012e8dd7ed269d1f128f8d21ed0e707679b030b9c822bac98c9b76033e8d2402171c4ee758d8c936fbeee7ee9 SHA512 0f0ed220cd0f899643930814010f8592e1f47b6dc6c4dce8eebfb17a81b0abed093a3dbf9c02490af99bf81ea640372f73b4ab88fd8ef0e0c7c66920692a8778 DIST mtime-1.4.0.tbz 15909 BLAKE2B 3c49deaf72d3873c8447f4a6d8ce89d55f3df60df108132ec078d81702a6fb9d532266efdf5290fe396d57a84de2d1912b48ad92f84db6d573d977492407b95b SHA512 0492fa5f5187b909fe2b0550363c7dcb8cffef963d51072272ef3d876b51e1ddf8de4c4e221cffb0144658fccf6a0dc584a5c8094a4b2208156e43bad5b269d4 +DIST mtime-2.0.0.tbz 16284 BLAKE2B de653a8ce5d53c53520f755f706d7eea8c13a53b0dcd27146d19b273b03bbc1582c77698f8e7b2148b4d1a3af63a37698978547945b06814fe9333c963619c08 SHA512 2ebec45218901c08f73420aa3318c506f155b6c0df713e9856682e59d3246696821ea477ce3682af0bf4cafd0491b1d66904f8c0256e2cf831e93a0aea322f04 diff --git a/dev-ml/mtime/mtime-2.0.0.ebuild b/dev-ml/mtime/mtime-2.0.0.ebuild new file mode 100644 index 000000000000..89bcf7cd92cc --- /dev/null +++ b/dev-ml/mtime/mtime-2.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +}