Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/fmt/
Date: Wed, 10 Feb 2021 15:31:54
Message-Id: 1612970445.5415cba637fe14230e3ebc5353fcf3becd0d63f5.sam@gentoo
1 commit: 5415cba637fe14230e3ebc5353fcf3becd0d63f5
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 10 15:20:11 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 10 15:20:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5415cba6
7
8 dev-ml/fmt: bump to 0.8.9
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-ml/fmt/Manifest | 1 +
14 dev-ml/fmt/fmt-0.8.9.ebuild | 35 +++++++++++++++++++++++++++++++++++
15 2 files changed, 36 insertions(+)
16
17 diff --git a/dev-ml/fmt/Manifest b/dev-ml/fmt/Manifest
18 index d92968186fd..6bade5578e9 100644
19 --- a/dev-ml/fmt/Manifest
20 +++ b/dev-ml/fmt/Manifest
21 @@ -1 +1,2 @@
22 DIST fmt-0.8.4.tbz 14079 BLAKE2B c4b6fc35a27734e8d878ef1abfa900b659d4acafc20757b0413aec1404378aed6e57c6a1a0e5c7dbda7e60fdd911d38fa1fecc76d670299ddf6ed14930fbcc28 SHA512 d17407f15447172ad444fa288b9a16962b0e4829cb73f62004b0f8dad2bec60a7911ad11fd05545d61d7fdb88099e53694548c73368399ba183c53383e1dfd31
23 +DIST fmt-0.8.9.tbz 21469 BLAKE2B 4cddf626118c9bdea435f9db4e6a3c0b92b49b2c07d1b0f708ae7b82963453be666ad49df196d98b466236509d3fa5a519e191da6b2385a308d1019f1583f0b5 SHA512 19b97caf5d2dbe86cd75bec478707b8f4e4b899b2a11ce04790dc5acb5c9ed6ea98047de52ee50c6480231a16307af2541eabaa94d18d7d008f7a67496f5f626
24
25 diff --git a/dev-ml/fmt/fmt-0.8.9.ebuild b/dev-ml/fmt/fmt-0.8.9.ebuild
26 new file mode 100644
27 index 00000000000..5dc34df3f2c
28 --- /dev/null
29 +++ b/dev-ml/fmt/fmt-0.8.9.ebuild
30 @@ -0,0 +1,35 @@
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 findlib opam
37 +
38 +DESCRIPTION="Combinators to devise OCaml Format pretty-printing functions"
39 +HOMEPAGE="https://erratique.ch/software/fmt https://github.com/dbuenzli/fmt"
40 +SRC_URI="https://erratique.ch/software/fmt/releases/${P}.tbz"
41 +
42 +LICENSE="ISC"
43 +SLOT="0/${PV}"
44 +KEYWORDS="~amd64"
45 +IUSE="test"
46 +RESTRICT="!test? ( test )"
47 +
48 +RDEPEND="dev-ml/result:=[ocamlopt]
49 + dev-lang/ocaml:=[ocamlopt]
50 + dev-ml/uchar:=[ocamlopt]
51 + dev-ml/cmdliner:=[ocamlopt]"
52 +DEPEND="${RDEPEND}"
53 +BDEPEND="
54 + >=dev-ml/topkg-0.9
55 + dev-ml/ocamlbuild
56 + dev-ml/findlib
57 +"
58 +
59 +src_compile() {
60 + ocaml pkg/pkg.ml build --tests $(usex test 'true' 'false') || die
61 +}
62 +
63 +src_test() {
64 + ocaml pkg/pkg.ml test || die
65 +}