Gentoo Archives: gentoo-commits

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