1 |
commit: eead0cfadf975e2a5ac4400c4b057722e31df8d0 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 28 08:35:15 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 29 10:05:38 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eead0cfa |
7 |
|
8 |
dev-ml/bin-prot: bump to 0.9.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-ml/bin-prot/Manifest | 1 + |
13 |
dev-ml/bin-prot/bin-prot-0.9.1.ebuild | 44 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/bin-prot/Manifest b/dev-ml/bin-prot/Manifest |
17 |
index e050ff3bb2a..e530cf1be09 100644 |
18 |
--- a/dev-ml/bin-prot/Manifest |
19 |
+++ b/dev-ml/bin-prot/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST bin-prot-0.9.0.tar.gz 338958 SHA256 1fc88602788a802570ba81376a71dd76a1815b74ce80245e3fc4cfd7e259817e SHA512 111e0a9d07bdf22db6e3e7e9a165d196a264a3652e4cc363ec8f49c4ef385b8b76982a9d42fa8e0954e15a4a80c35ca6876c70fe6f20d7497fd8a2d53fab24c1 WHIRLPOOL 2d0fe47a957023d99bcde79146bef54c6e15801427db83697d16506d508231e95d6983f506502661740636ede95d2b36144c6d2f0953169785b27abe4d894764 |
22 |
+DIST bin-prot-0.9.1.tar.gz 338969 SHA256 b301a350fc951cbaba711c28395802121752a0ee927f0ec14fdd74ba4af1cb42 SHA512 6575f51931c6dfb0f640bc6eb8bb789fd1ca4b1ca95876df906bd5d5c3320dc8aebedd44b5c6feee6b66b40007bd0077da6cc628c791daba0c8cf806d7af7b9c WHIRLPOOL b6113a806457f7982b0e018d7fd828eb57156bc6e541fa0812565710861de5a1c4d955e194f7ca1da77fb8f9c9dd6db2d6a9d18d6db92bd024bd045c93a5e676 |
23 |
|
24 |
diff --git a/dev-ml/bin-prot/bin-prot-0.9.1.ebuild b/dev-ml/bin-prot/bin-prot-0.9.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..5c2d435fef0 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/bin-prot/bin-prot-0.9.1.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+DESCRIPTION="Binary protocol generator" |
36 |
+HOMEPAGE="https://github.com/janestreet/bin_prot" |
37 |
+SRC_URI="https://github.com/janestreet/bin_prot/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="Apache-2.0" |
40 |
+SLOT="0/${PV}" |
41 |
+KEYWORDS="~amd64" |
42 |
+IUSE="" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ dev-lang/ocaml:= |
46 |
+ dev-ml/base:= |
47 |
+ dev-ml/ppx_compare:= |
48 |
+ dev-ml/ppx_custom_printf:= |
49 |
+ dev-ml/ppx_core:= |
50 |
+ dev-ml/ppx_driver:= |
51 |
+ dev-ml/ppx_fields_conv:= |
52 |
+ dev-ml/ppx_sexp_conv:= |
53 |
+ dev-ml/ppx_type_conv:= |
54 |
+ dev-ml/ppx_variants_conv:= |
55 |
+ dev-ml/sexplib:= |
56 |
+ dev-ml/ocaml-migrate-parsetree:= |
57 |
+" |
58 |
+DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder" |
59 |
+ |
60 |
+S="${WORKDIR}/bin_prot-${PV}" |
61 |
+ |
62 |
+src_test() { |
63 |
+ jbuilder runtest || die |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ opam-installer -i \ |
68 |
+ --prefix="${ED}/usr" \ |
69 |
+ --libdir="${D}/$(ocamlc -where)" \ |
70 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
71 |
+ ${PN/-/_}.install || die |
72 |
+ dodoc CHANGES.md README.md |
73 |
+} |