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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5D8E513933E for ; Fri, 16 Jul 2021 07:20:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DFF2E094F; Fri, 16 Jul 2021 07:20:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C774E094F for ; Fri, 16 Jul 2021 07:20:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5F3E340D5C for ; Fri, 16 Jul 2021 07:20:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 605EF7BA for ; Fri, 16 Jul 2021 07:20:14 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1626419996.76cf489d83918b077242c46c8c4dd5ba243c7c7b.tupone@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.2.0.ebuild X-VCS-Directories: dev-ml/mtime/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 76cf489d83918b077242c46c8c4dd5ba243c7c7b X-VCS-Branch: master Date: Fri, 16 Jul 2021 07:20:14 +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: c224f537-a10e-4d8e-a6cb-6a78b3206a53 X-Archives-Hash: bcdd3c30f0ee036abc3c9dda9762b621 commit: 76cf489d83918b077242c46c8c4dd5ba243c7c7b Author: Alfredo Tupone gentoo org> AuthorDate: Fri Jul 16 07:19:56 2021 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Fri Jul 16 07:19:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76cf489d dev-ml/mtime: bump 1.2.0 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Alfredo Tupone gentoo.org> dev-ml/mtime/Manifest | 1 + dev-ml/mtime/mtime-1.2.0.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-ml/mtime/Manifest b/dev-ml/mtime/Manifest index 5218f058d5c..007cefadab6 100644 --- a/dev-ml/mtime/Manifest +++ b/dev-ml/mtime/Manifest @@ -1 +1,2 @@ DIST mtime-1.1.0.tbz 15467 BLAKE2B 975fdb01c6a4806035a5fbc256d192d6c2f45bdfb750045293b10a732c5613108d9bce897d3c1be660af60d6e9bafbf299dedbc0d872d1c09f65f47b11c9a6b6 SHA512 8ed5dae589dd27fc6e748218a9d9fb9d7d954d231fc2100d61c1b336e0ed38a215bc608cdea9965547729177c78c868c1de6a5ceac6735686a3de1c4a791746c +DIST mtime-1.2.0.tbz 16272 BLAKE2B 317201f8d5e7a55636e58748ffd269db5e88aed012e8dd7ed269d1f128f8d21ed0e707679b030b9c822bac98c9b76033e8d2402171c4ee758d8c936fbeee7ee9 SHA512 0f0ed220cd0f899643930814010f8592e1f47b6dc6c4dce8eebfb17a81b0abed093a3dbf9c02490af99bf81ea640372f73b4ab88fd8ef0e0c7c66920692a8778 diff --git a/dev-ml/mtime/mtime-1.2.0.ebuild b/dev-ml/mtime/mtime-1.2.0.ebuild new file mode 100644 index 00000000000..a6d491ea6ad --- /dev/null +++ b/dev-ml/mtime/mtime-1.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/ocaml:=[ocamlopt]" +DEPEND="${RDEPEND} + dev-ml/topkg + dev-ml/ocamlbuild + dev-ml/findlib" + +src_compile() { + ocaml pkg/pkg.ml build \ + --with-js_of_ocaml false \ + --tests $(usex test true false) \ + || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +}