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 9387A13934F for ; Wed, 28 Jul 2021 02:05:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4BFFE0857; Wed, 28 Jul 2021 02:05:32 +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 9E65AE0857 for ; Wed, 28 Jul 2021 02:05:32 +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 11D00342DEF for ; Wed, 28 Jul 2021 02:05:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F806845 for ; Wed, 28 Jul 2021 02:05:29 +0000 (UTC) From: "Sam James" 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" Message-ID: <1627437789.cc72ccca5d65ac57e8e0765a4f03f0666bb10697.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/bos/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/bos/Manifest dev-ml/bos/bos-0.2.0.ebuild X-VCS-Directories: dev-ml/bos/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cc72ccca5d65ac57e8e0765a4f03f0666bb10697 X-VCS-Branch: master Date: Wed, 28 Jul 2021 02:05:29 +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: 0ec0dc16-d6c9-457f-bd77-63b979d5b419 X-Archives-Hash: 7d0297747c9279d89a9967e92f078be7 commit: cc72ccca5d65ac57e8e0765a4f03f0666bb10697 Author: Sam James gentoo org> AuthorDate: Wed Jul 28 02:03:09 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jul 28 02:03:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc72ccca dev-ml/bos: add 0.2.0 Signed-off-by: Sam James gentoo.org> dev-ml/bos/Manifest | 1 + dev-ml/bos/bos-0.2.0.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-ml/bos/Manifest b/dev-ml/bos/Manifest index 1605b9165f8..455b1d3ba51 100644 --- a/dev-ml/bos/Manifest +++ b/dev-ml/bos/Manifest @@ -1 +1,2 @@ DIST bos-0.1.6.tbz 39822 BLAKE2B 0e10eb14fb5d429b81c67659c936e8b700c4cd417d1f5be000c8bdb0304de8ad9130e597f6e2e7771380c29c148f4339817bacc458e72a8efa894be3b85965bf SHA512 f1f10a97a32da936a7d5a0c70632e723723ee523c79f9dfd23bc42c039a194e8d69658483e6e856c7911332b799a92bf8cabfe96cc387522d7450b8f3f8f8343 +DIST bos-0.2.0.tbz 41008 BLAKE2B badc344e561ba9335a4ded0c8100da91fe2bc882698c94daa42d9db2f1e2c8c627b81eebb5a7067778c332384504391ea402f7363ec552e8517cb048c8e384fe SHA512 f9120f8108c6da5647c9fbcc78736a5f87bf5627fad01035fdab1af6322c93e75df670d7d2910fe474c92c48ffffcf15955a84e698cfc7bfb7c1ac4fe27d472f diff --git a/dev-ml/bos/bos-0.2.0.ebuild b/dev-ml/bos/bos-0.2.0.ebuild new file mode 100644 index 00000000000..48d5b153707 --- /dev/null +++ b/dev-ml/bos/bos-0.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Basic OS interaction for OCaml" +HOMEPAGE="https://erratique.ch/software/bos https://github.com/dbuenzli/bos" +SRC_URI="https://erratique.ch/software/bos/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/ocaml:= + dev-ml/rresult:= + dev-ml/astring:= + dev-ml/fpath:= + dev-ml/fmt:= + dev-ml/logs:= +" +DEPEND="${RDEPEND} + dev-ml/findlib + dev-ml/ocamlbuild + dev-ml/topkg + test? ( dev-ml/mtime ) +" + +src_compile() { + ocaml pkg/pkg.ml build --tests $(usex test true false) || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die +}