1 |
commit: 21d1703827eec76298a00dd6f48c5643f476892c |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 18 09:43:05 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 18 11:17:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21d17038 |
7 |
|
8 |
dev-ml/fmt: Bump to 0.8.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/fmt/Manifest | 1 + |
13 |
dev-ml/fmt/fmt-0.8.3.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/fmt/Manifest b/dev-ml/fmt/Manifest |
17 |
index ba10cd5732d..052475a9c1a 100644 |
18 |
--- a/dev-ml/fmt/Manifest |
19 |
+++ b/dev-ml/fmt/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST fmt-0.8.2.tbz 13668 SHA256 11a1b12037aea444b1ead54143bd0abde43752a57e1ac77dfeab98cac8f91808 SHA512 38f567a988176bb4628665e6f5e47dba4917a2f65310d222dcd7f14809a38fbd824e9ee05ba4de97a20aa2c57a813541c587c8c438b2ac1f93199dddaa441ae0 WHIRLPOOL 159c7d9dfe389707e6a566ae75c52cf4fb890d253c978baecb2ae9d93d03a06094e4e3098141bea9c6686143c53445449bc07bfec35922374cd3ae9774cccd98 |
22 |
+DIST fmt-0.8.3.tbz 13918 SHA256 b942f20b42d8e10812843995bfef504e7eae3f605908c2d00cd59cf91d5e3aec SHA512 9c63c9a3ae72e5d18041fc1ed03d36f4cdf66847aa960014e682bd7d576df516db9638d9d9df6fcfcaa863d243d37044c4f74dcf9e2518bd4ce6be0fa3994aea WHIRLPOOL 436d8248d6d2266f98ba353672d0c4b5b189a5b031ba69284004ec35d93e51bd2913343651611132dcc72bfe633e42754684c1d1f4ed39eaf34164283edd5011 |
23 |
|
24 |
diff --git a/dev-ml/fmt/fmt-0.8.3.ebuild b/dev-ml/fmt/fmt-0.8.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..8e0f58572e5 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/fmt/fmt-0.8.3.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI="5" |
34 |
+ |
35 |
+inherit findlib |
36 |
+ |
37 |
+DESCRIPTION="Combinators to devise OCaml Format pretty-printing functions" |
38 |
+HOMEPAGE="http://erratique.ch/software/fmt https://github.com/dbuenzli/fmt" |
39 |
+SRC_URI="http://erratique.ch/software/fmt/releases/${P}.tbz" |
40 |
+ |
41 |
+LICENSE="ISC" |
42 |
+SLOT="0/${PV}" |
43 |
+KEYWORDS="~amd64" |
44 |
+IUSE="test" |
45 |
+ |
46 |
+RDEPEND="dev-ml/result:=[ocamlopt] |
47 |
+ dev-lang/ocaml:=[ocamlopt] |
48 |
+ dev-ml/uchar:=[ocamlopt] |
49 |
+ dev-ml/cmdliner:=[ocamlopt]" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ dev-ml/opam |
52 |
+ >=dev-ml/topkg-0.9 |
53 |
+ dev-ml/ocamlbuild |
54 |
+ dev-ml/findlib" |
55 |
+ |
56 |
+src_compile() { |
57 |
+ ocaml pkg/pkg.ml build --tests $(usex test 'true' 'false') || die |
58 |
+} |
59 |
+ |
60 |
+src_test() { |
61 |
+ ocaml pkg/pkg.ml test || die |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ opam-installer -i \ |
66 |
+ --prefix="${ED}/usr" \ |
67 |
+ --libdir="${D}/$(ocamlc -where)" \ |
68 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
69 |
+ ${PN}.install || die |
70 |
+ dodoc CHANGES.md README.md |
71 |
+} |