Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlnet/
Date: Mon, 27 Jun 2016 20:34:01
Message-Id: 1467057923.133be5ab656a9b976171d4388bcaec91b2e6df56.monsieurp@gentoo
1 commit: 133be5ab656a9b976171d4388bcaec91b2e6df56
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 27 19:56:26 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 27 20:05:23 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133be5ab
7
8 dev-ml/ocamlnet: Clean up old.
9
10 Package-Manager: portage-2.2.28
11
12 dev-ml/ocamlnet/Manifest | 3 --
13 dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild | 76 --------------------------------
14 dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild | 78 ---------------------------------
15 dev-ml/ocamlnet/ocamlnet-4.1.1.ebuild | 82 -----------------------------------
16 4 files changed, 239 deletions(-)
17
18 diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest
19 index 5a7ab74..ae3ae74 100644
20 --- a/dev-ml/ocamlnet/Manifest
21 +++ b/dev-ml/ocamlnet/Manifest
22 @@ -1,4 +1 @@
23 -DIST ocamlnet-3.7.7.tar.gz 3357674 SHA256 5b8e464a874018c5e48fc1edc752b83e014061f19316b5b14df8422d939e7609 SHA512 b500a92e6c5dc4d96ac26352923d78cb3a8b555deda038c41860aecbd20ee9ccbcfee949014c91f1266c937ae03fadd72c322e3cbe6456d23fd20b871114df6a WHIRLPOOL ceb4a9fc5d43fe89487589ae14c4bdf58d6c3d99d3a9ebc07fa722e894106899a2ae2aca91a47338d8004017fdd0d23632e187d96ec51479b43955daddbbb893
24 -DIST ocamlnet-4.0.4.tar.gz 4336176 SHA256 becaa6c2b0c1ae6a3fb05139928442e5d4a685ea5033017060a86d70114e5f72 SHA512 f3bce94d43161e46bf0973bfbe0d9d5d7232136a24a27b987ae371a7aab129720df35bd0d6ef75126d587ee1fde56fe29d05bc44840724adf3be50ac250e7c85 WHIRLPOOL 34985fa9a49a60d6e671645a73533d6284b87205d63956265e631195ab117afdc6b41347e72f92d8cab711aef35db0c78a8989c955507dac66e8174ec6cb0242
25 -DIST ocamlnet-4.1.1.tar.gz 4561784 SHA256 61e5c280e96f7fd5a7d1e63391f60da6704e16f3816b45acaed17dd7042912fc SHA512 cd10f7fe622bed3208cc5ad66d65911c1c0992bdc6f4d1bc10d6e7ef197fe157226e6b8ca7857b91cd1c6d6103ac9c3d586d39f3cb32a9ccb9ab83e00bf4444d WHIRLPOOL c39fbb5e37c6eb71f8899f703913a9869e5f4995418195f68f7dbc53314c12d15ca941b35b00eff78ba9a088af079578db7a3e1ffee1467a027479e38c8bff2d
26 DIST ocamlnet-4.1.2.tar.gz 4623183 SHA256 918c3921529cfe545e206b3535a58f43f665165044dd3548f685b583e94f14d8 SHA512 69f42042a54efd662db2217224da53513fc7e72c7b2313d4a4a1128f1b4624f4f6298434f5b19f354b832119ff151abc81e85eb0108d6eb24f30f82d176e0b4d WHIRLPOOL 27e1a8eb24361cadb8b2fb2b61bc6e93d71be8290873ca5bb1eebe16b9c9b1db69eae3b20c8deb3f6656aa79171a817b15acae53159d80ff8f4c946c201de173
27
28 diff --git a/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild b/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild
29 deleted file mode 100644
30 index 779f710..0000000
31 --- a/dev-ml/ocamlnet/ocamlnet-3.7.7.ebuild
32 +++ /dev/null
33 @@ -1,76 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI="5"
39 -
40 -inherit eutils findlib
41 -
42 -MY_P=${P/_beta/test}
43 -DESCRIPTION="Modules for OCaml application-level Internet protocols"
44 -HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
45 -SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
46 -
47 -LICENSE="ZLIB GPL-2+"
48 -SLOT="0/${PV}"
49 -KEYWORDS="amd64 ppc x86 ~x86-fbsd"
50 -IUSE="cryptokit gtk ssl tk httpd +ocamlopt +pcre zip"
51 -RESTRICT="installsources"
52 -
53 -# the auth-dh compile flag has been disabled as well, since it depends on
54 -# ocaml-cryptgps, which is not available.
55 -
56 -DEPEND=">=dev-ml/findlib-1.0
57 - pcre? ( >=dev-ml/pcre-ocaml-5:= )
58 - >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
59 - tk? ( || ( dev-ml/labltk:= <dev-lang/ocaml-4.02[tk] ) )
60 - cryptokit? ( dev-ml/cryptokit:= )
61 - gtk? ( >=dev-ml/lablgtk-2:= )
62 - ssl? ( >=dev-ml/ocaml-ssl-0.4:= )
63 - zip? ( dev-ml/camlzip:= )
64 - "
65 -RDEPEND="${DEPEND}"
66 -
67 -S=${WORKDIR}/${MY_P}
68 -
69 -ocamlnet_use_with() {
70 - if use $1; then
71 - echo "-with-$2"
72 - else
73 - echo "-without-$2"
74 - fi
75 -}
76 -
77 -ocamlnet_use_enable() {
78 - if use $1; then
79 - echo "-enable-$2"
80 - else
81 - echo "-disable-$2"
82 - fi
83 -}
84 -
85 -src_configure() {
86 - ./configure \
87 - -bindir /usr/bin \
88 - -datadir /usr/share/${PN} \
89 - $(ocamlnet_use_enable cryptokit crypto) \
90 - $(ocamlnet_use_enable gtk gtk2) \
91 - $(ocamlnet_use_enable pcre pcre) \
92 - $(ocamlnet_use_enable ssl ssl) \
93 - $(ocamlnet_use_enable tk tcl) \
94 - $(ocamlnet_use_enable zip zip) \
95 - $(ocamlnet_use_with httpd nethttpd) \
96 - || die "Error : econf failed!"
97 -}
98 -
99 -src_compile() {
100 - emake -j1 all
101 - if use ocamlopt; then
102 - emake -j1 opt
103 - fi
104 -}
105 -
106 -src_install() {
107 - export STRIP_MASK="*/bin/*"
108 - findlib_src_install
109 -}
110
111 diff --git a/dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild b/dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild
112 deleted file mode 100644
113 index 5fe2f7a..0000000
114 --- a/dev-ml/ocamlnet/ocamlnet-4.0.4.ebuild
115 +++ /dev/null
116 @@ -1,78 +0,0 @@
117 -# Copyright 1999-2015 Gentoo Foundation
118 -# Distributed under the terms of the GNU General Public License v2
119 -# $Id$
120 -
121 -EAPI="5"
122 -
123 -inherit eutils findlib
124 -
125 -MY_P=${P/_beta/test}
126 -DESCRIPTION="Modules for OCaml application-level Internet protocols"
127 -HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
128 -SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
129 -
130 -LICENSE="ZLIB GPL-2+"
131 -SLOT="0/${PV}"
132 -KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
133 -IUSE="gtk kerberos tk httpd +ocamlopt +pcre ssl zip"
134 -RESTRICT="installsources"
135 -
136 -# the auth-dh compile flag has been disabled as well, since it depends on
137 -# ocaml-cryptgps, which is not available.
138 -
139 -RDEPEND=">=dev-ml/findlib-1.0
140 - pcre? ( >=dev-ml/pcre-ocaml-5:= )
141 - >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
142 - tk? ( || ( dev-ml/labltk:= <dev-lang/ocaml-4.02[tk] ) )
143 - ssl? ( net-libs/gnutls:= )
144 - gtk? ( >=dev-ml/lablgtk-2:= )
145 - kerberos? ( virtual/krb5 )
146 - zip? ( dev-ml/camlzip:= )
147 - "
148 -DEPEND="${RDEPEND}
149 - virtual/pkgconfig
150 -"
151 -
152 -S=${WORKDIR}/${MY_P}
153 -
154 -ocamlnet_use_with() {
155 - if use $1; then
156 - echo "-with-$2"
157 - else
158 - echo "-without-$2"
159 - fi
160 -}
161 -
162 -ocamlnet_use_enable() {
163 - if use $1; then
164 - echo "-enable-$2"
165 - else
166 - echo "-disable-$2"
167 - fi
168 -}
169 -
170 -src_configure() {
171 - ./configure \
172 - -bindir /usr/bin \
173 - -datadir /usr/share/${PN} \
174 - $(ocamlnet_use_enable ssl gnutls) \
175 - $(ocamlnet_use_enable gtk gtk2) \
176 - $(ocamlnet_use_enable kerberos gssapi) \
177 - $(ocamlnet_use_enable pcre pcre) \
178 - $(ocamlnet_use_enable tk tcl) \
179 - $(ocamlnet_use_enable zip zip) \
180 - $(ocamlnet_use_with httpd nethttpd) \
181 - || die "Error : econf failed!"
182 -}
183 -
184 -src_compile() {
185 - emake -j1 all
186 - if use ocamlopt; then
187 - emake -j1 opt
188 - fi
189 -}
190 -
191 -src_install() {
192 - export STRIP_MASK="*/bin/*"
193 - findlib_src_install
194 -}
195
196 diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.1.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.1.ebuild
197 deleted file mode 100644
198 index 5c042a3..0000000
199 --- a/dev-ml/ocamlnet/ocamlnet-4.1.1.ebuild
200 +++ /dev/null
201 @@ -1,82 +0,0 @@
202 -# Copyright 1999-2015 Gentoo Foundation
203 -# Distributed under the terms of the GNU General Public License v2
204 -# $Id$
205 -
206 -EAPI="5"
207 -
208 -inherit eutils findlib
209 -
210 -MY_P=${P/_beta/test}
211 -DESCRIPTION="Modules for OCaml application-level Internet protocols"
212 -HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html"
213 -SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
214 -
215 -LICENSE="ZLIB GPL-2+"
216 -SLOT="0/${PV}"
217 -KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
218 -IUSE="gtk kerberos tk httpd +ocamlopt +pcre ssl zip"
219 -RESTRICT="installsources"
220 -
221 -# the auth-dh compile flag has been disabled as well, since it depends on
222 -# ocaml-cryptgps, which is not available.
223 -
224 -RDEPEND=">=dev-ml/findlib-1.0
225 - pcre? ( >=dev-ml/pcre-ocaml-5:= )
226 - >=dev-lang/ocaml-3.10.2:=[ocamlopt?]
227 - tk? ( || ( dev-ml/labltk:= <dev-lang/ocaml-4.02[tk] ) )
228 - ssl? ( net-libs/gnutls:= )
229 - gtk? ( >=dev-ml/lablgtk-2:= )
230 - kerberos? ( virtual/krb5 )
231 - zip? ( dev-ml/camlzip:= )
232 - "
233 -DEPEND="${RDEPEND}
234 - virtual/pkgconfig
235 -"
236 -
237 -S=${WORKDIR}/${MY_P}
238 -
239 -src_prepare() {
240 - has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch"
241 -}
242 -
243 -ocamlnet_use_with() {
244 - if use $1; then
245 - echo "-with-$2"
246 - else
247 - echo "-without-$2"
248 - fi
249 -}
250 -
251 -ocamlnet_use_enable() {
252 - if use $1; then
253 - echo "-enable-$2"
254 - else
255 - echo "-disable-$2"
256 - fi
257 -}
258 -
259 -src_configure() {
260 - ./configure \
261 - -bindir /usr/bin \
262 - -datadir /usr/share/${PN} \
263 - $(ocamlnet_use_enable ssl gnutls) \
264 - $(ocamlnet_use_enable gtk gtk2) \
265 - $(ocamlnet_use_enable kerberos gssapi) \
266 - $(ocamlnet_use_enable pcre pcre) \
267 - $(ocamlnet_use_enable tk tcl) \
268 - $(ocamlnet_use_enable zip zip) \
269 - $(ocamlnet_use_with httpd nethttpd) \
270 - || die "Error : econf failed!"
271 -}
272 -
273 -src_compile() {
274 - emake -j1 all
275 - if use ocamlopt; then
276 - emake -j1 opt
277 - fi
278 -}
279 -
280 -src_install() {
281 - export STRIP_MASK="*/bin/*"
282 - findlib_src_install
283 -}