1 |
commit: 3c9d1a719a1f627b6f3617bc1295a9c58b7a04be |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 6 13:07:19 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 6 13:19:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c9d1a71 |
7 |
|
8 |
dev-ml/ocaml-dns: Bump to 0.19.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/ocaml-dns/Manifest | 1 + |
13 |
dev-ml/ocaml-dns/ocaml-dns-0.19.1.ebuild | 61 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/ocaml-dns/Manifest b/dev-ml/ocaml-dns/Manifest |
17 |
index 6ed5fd3b08e..a7d75344863 100644 |
18 |
--- a/dev-ml/ocaml-dns/Manifest |
19 |
+++ b/dev-ml/ocaml-dns/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST ocaml-dns-0.18.1.tar.gz 144857 SHA256 c570a9f215bbafacb83319fd1d21fd393357c97359c237b941767d81764cc5e6 SHA512 909e7de8b434769aee04c4837cbcecd2856ad11b863f061eca650621b0caab81327107b58ecf20d65270f36b192d438baa3868b906cd9243163b2c697bf68684 WHIRLPOOL 043200a93926bc67859e6ff6f03ecfc1184ad3e13595fa71891a9e8ba3932ab2d3e46f32a145b11989d185e519548693af605b617ce7914dda1711d40a2d2d88 |
22 |
DIST ocaml-dns-0.19.0.tar.gz 150398 SHA256 d9591f8cc3498667e66683251e68e3e32ff3c1f7cc7cf36d945c2706f96854fd SHA512 3b885bb202bd32b9a9961e3f971fe8c404b7585f27214076c09a0c524a8f382d1f584843237169b51e209dee401a630f6240c3789ac1d2d6980e15feb3e508df WHIRLPOOL 100215eb9c8ab867056eb849917d96408380cc9f9a1447b1f29c6fae03a0ed44c6e74fb461bee8f54f7f521ff5ab7270c7eb38ef0685a6010bdba17903eaf400 |
23 |
+DIST ocaml-dns-0.19.1.tar.gz 99433 SHA256 6356939529548b979c350d1323971bc9a2aa5b937d4d57412dbd8ef1f87d1c3e SHA512 6866d38b64be1b19ccadc8e0c199b89f08db42ecfcb65d0e0a714f00a4a712cc84dcb334730bd385f1073fd1abd2ae124d96374bb3e85ed2d8642427feedd1ad WHIRLPOOL ff187af0d53b4747840a2c6ca924fc498aff0d6342aace856c878eef56c870903f9a8b3d84982bdbca2455579d2714b9f8784f024836078abc9dc7e1da01f65d |
24 |
|
25 |
diff --git a/dev-ml/ocaml-dns/ocaml-dns-0.19.1.ebuild b/dev-ml/ocaml-dns/ocaml-dns-0.19.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..870e444c256 |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/ocaml-dns/ocaml-dns-0.19.1.ebuild |
30 |
@@ -0,0 +1,61 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+inherit findlib |
37 |
+ |
38 |
+DESCRIPTION="A pure OCaml implementation of the DNS protocol" |
39 |
+HOMEPAGE="https://github.com/mirage/ocaml-dns https://mirage.io" |
40 |
+SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="LGPL-2 LGPL-2.1-with-linking-exception ISC" |
43 |
+SLOT="0/${PV}" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="async +lwt +ocamlopt test" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ async? ( >=dev-ml/async-112.24.00:= ) |
49 |
+ lwt? ( >=dev-ml/lwt-2.4.7:= |
50 |
+ dev-ml/ocaml-cstruct:=[lwt(-)] ) |
51 |
+ >=dev-lang/ocaml-4:= |
52 |
+ dev-ml/cmdliner:= |
53 |
+ dev-ml/mirage-profile:= |
54 |
+ >=dev-ml/ocaml-base64-2.0.0:= |
55 |
+ >=dev-ml/ocaml-cstruct-1.9.0:= |
56 |
+ >=dev-ml/ocaml-ipaddr-2.6.0:= |
57 |
+ dev-ml/ocaml-re:= |
58 |
+ >=dev-ml/ocaml-uri-1.7.0:= |
59 |
+ dev-ml/ocaml-hashcons:=[ocamlopt?] |
60 |
+ dev-lang/ocaml:=[ocamlopt?] |
61 |
+ !<dev-ml/mirage-types-1.2.0 |
62 |
+ !dev-ml/odns |
63 |
+" |
64 |
+DEPEND=" |
65 |
+ test? ( |
66 |
+ dev-ml/ounit |
67 |
+ dev-ml/ocaml-pcap |
68 |
+ ) |
69 |
+ dev-ml/topkg |
70 |
+ dev-ml/ppx_tools |
71 |
+ ${RDEPEND} |
72 |
+" |
73 |
+# Missing mirage deps |
74 |
+RESTRICT="test" |
75 |
+ |
76 |
+src_compile() { |
77 |
+ ocaml pkg/pkg.ml build \ |
78 |
+ --tests $(usex test true false) \ |
79 |
+ --with-lwt $(usex lwt true false) \ |
80 |
+ --with-async $(usex async true false) \ |
81 |
+ || die |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ opam-installer -i \ |
86 |
+ --prefix="${ED}/usr" \ |
87 |
+ --libdir="${D}/$(ocamlc -where)" \ |
88 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
89 |
+ dns.install || die |
90 |
+ dodoc CHANGES.md README.md TODO.md |
91 |
+} |