1 |
commit: 417d77a18acc05318f6f599ea85f7ced383416a4 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 24 19:44:05 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 24 19:53:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=417d77a1 |
7 |
|
8 |
dev-ml/ocamlnet: drop old EAPI=5 |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
|
12 |
dev-ml/ocamlnet/Manifest | 1 - |
13 |
dev-ml/ocamlnet/ocamlnet-4.1.3.ebuild | 72 ----------------------------------- |
14 |
2 files changed, 73 deletions(-) |
15 |
|
16 |
diff --git a/dev-ml/ocamlnet/Manifest b/dev-ml/ocamlnet/Manifest |
17 |
index 07c535b6323..59ad2196586 100644 |
18 |
--- a/dev-ml/ocamlnet/Manifest |
19 |
+++ b/dev-ml/ocamlnet/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST ocamlnet-4.1.2.tar.gz 4623183 BLAKE2B 7e8d5cdc823b9e924258f75f00957ba185d49555377ba2a2d960c47e2ea958059e1ab62e27be63770bb4f547e1fa0cb788a54c3e698180b2b15f0097fe84455a SHA512 69f42042a54efd662db2217224da53513fc7e72c7b2313d4a4a1128f1b4624f4f6298434f5b19f354b832119ff151abc81e85eb0108d6eb24f30f82d176e0b4d |
22 |
-DIST ocamlnet-4.1.3.tar.gz 4553037 BLAKE2B 177d2a3b947e6123bdef0ee180c612f832a22dfd90fe0c44b60ba2ebea3629103db9730eb1b926b7d7bf39b489934b8949b0fd08e5155c7f41e3c065c215558c SHA512 683ab6f529639c9da01478ba8ba7a1bf89a418ad3872331bb3e29067c0a75ddc0db996630ce5a5dd116967d6e3e756ade02d9a78b865bbc226f95d01af9e3956 |
23 |
DIST ocamlnet-4.1.4.tar.gz 4552969 BLAKE2B 3dfedcd09eb91d1ca8e13b7a87dfe70cfb88d57d0b4fa970fe6179affa05ba3fdeaad0dfbb6ac267e7a6530c289408b1a8ad66a805226245f80fe66770addad5 SHA512 ca502444f81898ccda27d61760a357aad59624cf3c4c025d49dd1c2e7bc3ef497c199634247ba7731e016c234e5cd92d2599d1ef9ecd55c3b6e7a64fc4773ee0 |
24 |
|
25 |
diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.3.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.3.ebuild |
26 |
deleted file mode 100644 |
27 |
index 1d38ddb0e81..00000000000 |
28 |
--- a/dev-ml/ocamlnet/ocamlnet-4.1.3.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,72 +0,0 @@ |
31 |
-# Copyright 1999-2019 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI="5" |
35 |
- |
36 |
-inherit eutils findlib |
37 |
- |
38 |
-MY_P=${P/_beta/test} |
39 |
-DESCRIPTION="Modules for OCaml application-level Internet protocols" |
40 |
-HOMEPAGE="http://projects.camlcity.org/projects/ocamlnet.html" |
41 |
-SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz" |
42 |
- |
43 |
-LICENSE="ZLIB GPL-2+" |
44 |
-SLOT="0/${PV}" |
45 |
-KEYWORDS="~amd64 ~ppc ~x86" |
46 |
-IUSE="gtk kerberos tk httpd +ocamlopt +pcre ssl zip" |
47 |
-RESTRICT="installsources strip" |
48 |
- |
49 |
-# the auth-dh compile flag has been disabled as well, since it depends on |
50 |
-# ocaml-cryptgps, which is not available. |
51 |
- |
52 |
-RDEPEND=">=dev-ml/findlib-1.0 |
53 |
- pcre? ( >=dev-ml/pcre-ocaml-5:= ) |
54 |
- >=dev-lang/ocaml-3.10.2:=[ocamlopt?] |
55 |
- tk? ( dev-ml/labltk:= ) |
56 |
- ssl? ( net-libs/gnutls:= ) |
57 |
- gtk? ( >=dev-ml/lablgtk-2:= ) |
58 |
- kerberos? ( virtual/krb5 ) |
59 |
- zip? ( dev-ml/camlzip:= ) |
60 |
- " |
61 |
-DEPEND="${RDEPEND} |
62 |
- virtual/pkgconfig |
63 |
-" |
64 |
- |
65 |
-S=${WORKDIR}/${MY_P} |
66 |
- |
67 |
-ocamlnet_use_with() { |
68 |
- if use $1; then |
69 |
- echo "-with-$2" |
70 |
- else |
71 |
- echo "-without-$2" |
72 |
- fi |
73 |
-} |
74 |
- |
75 |
-ocamlnet_use_enable() { |
76 |
- if use $1; then |
77 |
- echo "-enable-$2" |
78 |
- else |
79 |
- echo "-disable-$2" |
80 |
- fi |
81 |
-} |
82 |
- |
83 |
-src_configure() { |
84 |
- ./configure \ |
85 |
- -bindir /usr/bin \ |
86 |
- -datadir /usr/share/${PN} \ |
87 |
- $(ocamlnet_use_enable ssl gnutls) \ |
88 |
- $(ocamlnet_use_enable gtk gtk2) \ |
89 |
- $(ocamlnet_use_enable kerberos gssapi) \ |
90 |
- $(ocamlnet_use_enable pcre pcre) \ |
91 |
- $(ocamlnet_use_enable tk tcl) \ |
92 |
- $(ocamlnet_use_enable zip zip) \ |
93 |
- $(ocamlnet_use_with httpd nethttpd) \ |
94 |
- || die "Error : econf failed!" |
95 |
-} |
96 |
- |
97 |
-src_compile() { |
98 |
- emake -j1 all |
99 |
- if use ocamlopt; then |
100 |
- emake -j1 opt |
101 |
- fi |
102 |
-} |