1 |
commit: 757a1ff2bced043fd5840ada7a7116e3b723f9ec |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 5 10:06:31 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 6 16:17:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=757a1ff2 |
7 |
|
8 |
dev-ml/ocaml-conduit: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/ocaml-conduit/Manifest | 2 - |
13 |
dev-ml/ocaml-conduit/files/lwt3.patch | 58 ------------------------ |
14 |
dev-ml/ocaml-conduit/ocaml-conduit-0.14.5.ebuild | 45 ------------------ |
15 |
dev-ml/ocaml-conduit/ocaml-conduit-0.15.0.ebuild | 49 -------------------- |
16 |
4 files changed, 154 deletions(-) |
17 |
|
18 |
diff --git a/dev-ml/ocaml-conduit/Manifest b/dev-ml/ocaml-conduit/Manifest |
19 |
index 2fa87853e3c..d415e3ea796 100644 |
20 |
--- a/dev-ml/ocaml-conduit/Manifest |
21 |
+++ b/dev-ml/ocaml-conduit/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST ocaml-conduit-0.14.5.tar.gz 38471 SHA256 00aba333c05866bb712f7890c6f9fd457b85cf592d28adc6636413032683f86f SHA512 c2de6518588e3555cd40dfc6c1ce6d809dc570ddb6a07fb8ccce1797469e9c28ea1a633d4a1b360bf15cdb95e6231ecb0be8bd44e4654baa5268f09519096b52 WHIRLPOOL 5e052d7b9d34d76662496739a6934bf64c1930ca64b2160aa8cbefe0237bd0bb3438a187c3dd05d841b7b475325afcb32bb6fb20e0b61b885c16f4b0b3259aea |
24 |
-DIST ocaml-conduit-0.15.0.tar.gz 38617 SHA256 fa8c812c1e87cc59e7f6f8fd6d716014aadeda9853e5c6feacd5ecdd1fec5815 SHA512 112a09df2edc7bb0f174f19ad7d826aaf8116cce86e66182a27b4edadcffeee632d7e5cad489e9e797147b94ec81b1f1d122e9e30e384c0c84847875f9bed096 WHIRLPOOL 80bc7aa47df74c4a17c60e26bc9fd34a2167682cc63821918b33e03429f35710882a244aed61578d1e8ac7a34f67d3ba65e40754e066109b433a50868e73c243 |
25 |
DIST ocaml-conduit-0.15.3.tar.gz 38921 SHA256 6760c9fed6b1c5360d74b4cd6fafbd78e1736c08d3024ed9ecb79b29ad3456db SHA512 0666ed22a93351dc8381de3eaafcf019336f9d62e6b7ed7c0bcd7e202ecfb54ede8ed999023a0ed712da6406cee872965b22c77982ed65897b2e0abfadd0a07c WHIRLPOOL e754553c08fe31be337b8f1aaf504a5319af66aea9f897b411a6ca4d8efd4a5c1ac9488cbe7ca091f7c87ce4171e3725f701a9f8359d04dfd6c6cca350a1a611 |
26 |
|
27 |
diff --git a/dev-ml/ocaml-conduit/files/lwt3.patch b/dev-ml/ocaml-conduit/files/lwt3.patch |
28 |
deleted file mode 100644 |
29 |
index de849e60d79..00000000000 |
30 |
--- a/dev-ml/ocaml-conduit/files/lwt3.patch |
31 |
+++ /dev/null |
32 |
@@ -1,58 +0,0 @@ |
33 |
-Index: ocaml-conduit-0.15.0/lib/conduit_lwt_server.ml |
34 |
-=================================================================== |
35 |
---- ocaml-conduit-0.15.0.orig/lib/conduit_lwt_server.ml |
36 |
-+++ ocaml-conduit-0.15.0/lib/conduit_lwt_server.ml |
37 |
-@@ -15,10 +15,10 @@ let close (ic, oc) = |
38 |
- let listen ?(backlog=128) sa = |
39 |
- let fd = Lwt_unix.socket (Unix.domain_of_sockaddr sa) Unix.SOCK_STREAM 0 in |
40 |
- Lwt_unix.(setsockopt fd SO_REUSEADDR true); |
41 |
-- Lwt_unix.bind fd sa; |
42 |
-+ Lwt_unix.bind fd sa >>= fun _ -> |
43 |
- Lwt_unix.listen fd backlog; |
44 |
- Lwt_unix.set_close_on_exec fd; |
45 |
-- fd |
46 |
-+ Lwt.return fd |
47 |
- |
48 |
- let with_socket sockaddr f = |
49 |
- let fd = |
50 |
-Index: ocaml-conduit-0.15.0/lib/conduit_lwt_server.mli |
51 |
-=================================================================== |
52 |
---- ocaml-conduit-0.15.0.orig/lib/conduit_lwt_server.mli |
53 |
-+++ ocaml-conduit-0.15.0/lib/conduit_lwt_server.mli |
54 |
-@@ -3,7 +3,7 @@ val close : 'a Lwt_io.channel * 'b Lwt_i |
55 |
- |
56 |
- val set_max_active : int -> unit |
57 |
- |
58 |
--val listen : ?backlog:int -> Unix.sockaddr -> Lwt_unix.file_descr |
59 |
-+val listen : ?backlog:int -> Unix.sockaddr -> Lwt_unix.file_descr Lwt.t |
60 |
- |
61 |
- val with_socket |
62 |
- : Unix.sockaddr |
63 |
-Index: ocaml-conduit-0.15.0/lib/conduit_lwt_unix.ml |
64 |
-=================================================================== |
65 |
---- ocaml-conduit-0.15.0.orig/lib/conduit_lwt_unix.ml |
66 |
-+++ ocaml-conduit-0.15.0/lib/conduit_lwt_unix.ml |
67 |
-@@ -167,11 +167,12 @@ let init ?src ?(tls_server_key=`None) () |
68 |
- module Sockaddr_client = struct |
69 |
- let connect ?src sa = |
70 |
- Conduit_lwt_server.with_socket sa (fun fd -> |
71 |
-- let () = |
72 |
-+ let tx () = |
73 |
- match src with |
74 |
-- | None -> () |
75 |
-+ | None -> Lwt.return () |
76 |
- | Some src_sa -> Lwt_unix.bind fd src_sa |
77 |
-- in |
78 |
-+ in |
79 |
-+ tx () >>= fun () -> |
80 |
- Lwt_unix.connect fd sa >>= fun () -> |
81 |
- let ic = Lwt_io.of_fd ~mode:Lwt_io.input fd in |
82 |
- let oc = Lwt_io.of_fd ~mode:Lwt_io.output fd in |
83 |
-@@ -199,6 +200,7 @@ module Sockaddr_server = struct |
84 |
- match on with |
85 |
- | `Socket s -> s |
86 |
- | `Sockaddr sockaddr -> Conduit_lwt_server.listen ?backlog sockaddr in |
87 |
-+ s >>= fun s -> |
88 |
- Conduit_lwt_server.init ?stop (process_accept ?timeout callback) s |
89 |
- end |
90 |
- |
91 |
|
92 |
diff --git a/dev-ml/ocaml-conduit/ocaml-conduit-0.14.5.ebuild b/dev-ml/ocaml-conduit/ocaml-conduit-0.14.5.ebuild |
93 |
deleted file mode 100644 |
94 |
index 8e5f0e39101..00000000000 |
95 |
--- a/dev-ml/ocaml-conduit/ocaml-conduit-0.14.5.ebuild |
96 |
+++ /dev/null |
97 |
@@ -1,45 +0,0 @@ |
98 |
-# Copyright 1999-2017 Gentoo Foundation |
99 |
-# Distributed under the terms of the GNU General Public License v2 |
100 |
- |
101 |
-EAPI=5 |
102 |
- |
103 |
-inherit findlib |
104 |
- |
105 |
-DESCRIPTION="Dereference URIs into communication channels for Async or Lwt" |
106 |
-HOMEPAGE="https://github.com/mirage/ocaml-conduit" |
107 |
-SRC_URI="https://github.com/mirage/ocaml-conduit/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
108 |
- |
109 |
-LICENSE="ISC" |
110 |
-SLOT="0/${PV}" |
111 |
-KEYWORDS="~amd64" |
112 |
-IUSE="" |
113 |
- |
114 |
-DEPEND=" |
115 |
- dev-lang/ocaml:= |
116 |
- dev-ml/sexplib:= |
117 |
- dev-ml/stringext:= |
118 |
- dev-ml/ocaml-uri:= |
119 |
- dev-ml/logs:= |
120 |
- dev-ml/ocaml-cstruct:= |
121 |
- dev-ml/ocaml-ipaddr:= |
122 |
- |
123 |
- dev-ml/lwt:= |
124 |
- dev-ml/async:= |
125 |
- dev-ml/ocaml-dns:= |
126 |
- dev-ml/ocaml-ssl:= |
127 |
-" |
128 |
-RDEPEND="${DEPEND}" |
129 |
-DEPEND="${DEPEND} |
130 |
- dev-ml/findlib |
131 |
- dev-ml/ocamlbuild |
132 |
- dev-ml/ppx_driver |
133 |
- dev-ml/ppx_optcomp |
134 |
- dev-ml/ppx_sexp_conv |
135 |
-" |
136 |
- |
137 |
-DOCS=( TODO.md README.md CHANGES ) |
138 |
- |
139 |
-src_install() { |
140 |
- findlib_src_preinst |
141 |
- default |
142 |
-} |
143 |
|
144 |
diff --git a/dev-ml/ocaml-conduit/ocaml-conduit-0.15.0.ebuild b/dev-ml/ocaml-conduit/ocaml-conduit-0.15.0.ebuild |
145 |
deleted file mode 100644 |
146 |
index cd8c6a3b6cc..00000000000 |
147 |
--- a/dev-ml/ocaml-conduit/ocaml-conduit-0.15.0.ebuild |
148 |
+++ /dev/null |
149 |
@@ -1,49 +0,0 @@ |
150 |
-# Copyright 1999-2017 Gentoo Foundation |
151 |
-# Distributed under the terms of the GNU General Public License v2 |
152 |
- |
153 |
-EAPI=5 |
154 |
- |
155 |
-inherit findlib eutils |
156 |
- |
157 |
-DESCRIPTION="Dereference URIs into communication channels for Async or Lwt" |
158 |
-HOMEPAGE="https://github.com/mirage/ocaml-conduit" |
159 |
-SRC_URI="https://github.com/mirage/ocaml-conduit/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
160 |
- |
161 |
-LICENSE="ISC" |
162 |
-SLOT="0/${PV}" |
163 |
-KEYWORDS="~amd64" |
164 |
-IUSE="" |
165 |
- |
166 |
-DEPEND=" |
167 |
- dev-lang/ocaml:= |
168 |
- dev-ml/sexplib:= |
169 |
- dev-ml/stringext:= |
170 |
- dev-ml/ocaml-uri:= |
171 |
- dev-ml/logs:= |
172 |
- dev-ml/ocaml-cstruct:= |
173 |
- dev-ml/ocaml-ipaddr:= |
174 |
- |
175 |
- >=dev-ml/lwt-3:= |
176 |
- dev-ml/async:= |
177 |
- dev-ml/ocaml-dns:= |
178 |
- dev-ml/ocaml-ssl:= |
179 |
-" |
180 |
-RDEPEND="${DEPEND}" |
181 |
-DEPEND="${DEPEND} |
182 |
- dev-ml/findlib |
183 |
- dev-ml/ocamlbuild |
184 |
- dev-ml/ppx_driver |
185 |
- dev-ml/ppx_optcomp |
186 |
- dev-ml/ppx_sexp_conv |
187 |
-" |
188 |
- |
189 |
-DOCS=( TODO.md README.md CHANGES ) |
190 |
- |
191 |
-src_prepare() { |
192 |
- epatch "${FILESDIR}/lwt3.patch" |
193 |
-} |
194 |
- |
195 |
-src_install() { |
196 |
- findlib_src_preinst |
197 |
- default |
198 |
-} |