1 |
commit: 5906c505f9f59a0b01fae157b0fd8e508010f4af |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 3 18:01:40 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 5 13:02:43 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5906c505 |
7 |
|
8 |
dev-ml/ocaml-ipaddr: Bump to 2.8.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/ocaml-ipaddr/Manifest | 1 + |
13 |
dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.8.0.ebuild | 33 +++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/ocaml-ipaddr/Manifest b/dev-ml/ocaml-ipaddr/Manifest |
17 |
index 29172d5afbc..9b52d5ed4a7 100644 |
18 |
--- a/dev-ml/ocaml-ipaddr/Manifest |
19 |
+++ b/dev-ml/ocaml-ipaddr/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST ocaml-ipaddr-2.7.1.tar.gz 23652 SHA256 0d1d5fe983ff02ed09a0f03e5f1048c575d621599b42b5685d56f4da61186888 SHA512 9f640f10614666f3a7cc578e934b0424c1d6fdcdd2dc5620f4a8b4fa7799a07fdd7c4bbe4e91c4899d45612ce8d2d4cafc8bcd19e51253c6da5d12c504820903 WHIRLPOOL 5be5846d98fbec95c5d3ba47c3b59bbdd3c44e41d04270d0b0ca2331eb7e6aac3d79c4833bf8dd20edb2d0c9f03b3bc72c53f12e0d27fb9980bcf73dea2c17f4 |
22 |
DIST ocaml-ipaddr-2.7.2.tar.gz 23698 SHA256 2dc1dc07bb62fe43382181a13f33b7ff1c0dbbeb6b591b7ab17ea32c7be0d256 SHA512 fe477bcdae82f6a259d99cb4191f942ba7a38d11c575fcaa92c2973c9cd0b3b2b008a1efdca73e11d94f892be2f84547c386bbfca95cfa78d2fefd83d77ca876 WHIRLPOOL bca829ebf37d6275631dea24b3264ec5103a625366e9357851068d90fd9fd6e7de6ad930638fa9acbc19f446a9e74cc2eaf8083f62114d3ea8680e8039f1e936 |
23 |
+DIST ocaml-ipaddr-2.8.0.tar.gz 22134 SHA256 bcbb9cfad7096d930beca46f9385fe7f556be47d1e83148cef77f954d70dabaa SHA512 1714ee4d6b2afa17b987844f37a9896f01d7b674770fa6804b03222dba656130f9ee0d2d1409b67e770e21f973682c7d1d5c550abb0a5d94bc0c04a1a97e8e3c WHIRLPOOL e773ff65e0b425fe9614f701a33d5011bc92012ca67819ecfdd6877444d81b210fc4b1f4e187c1cc32f34851382f8903b97658c6fb787d1d7957b8b9a79c2dc5 |
24 |
|
25 |
diff --git a/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.8.0.ebuild b/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.8.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..0892920b762 |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/ocaml-ipaddr/ocaml-ipaddr-2.8.0.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+DESCRIPTION="OCaml library for manipulation of IP (and MAC) address representations" |
37 |
+HOMEPAGE="https://github.com/mirage/ocaml-ipaddr" |
38 |
+SRC_URI="https://github.com/mirage/ocaml-ipaddr/archive/${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="ISC" |
41 |
+SLOT="0/${PV}" |
42 |
+KEYWORDS="~amd64" |
43 |
+IUSE="+ocamlopt test" |
44 |
+ |
45 |
+RDEPEND="dev-ml/sexplib:= |
46 |
+ dev-ml/ppx_sexp_conv:= |
47 |
+ dev-lang/ocaml:=[ocamlopt?] |
48 |
+" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ dev-ml/jbuilder |
51 |
+ dev-ml/opam |
52 |
+ dev-ml/findlib |
53 |
+ test? ( dev-ml/ounit ) |
54 |
+" |
55 |
+ |
56 |
+src_install() { |
57 |
+ opam-installer -i \ |
58 |
+ --prefix="${ED}/usr" \ |
59 |
+ --libdir="${D}/$(ocamlc -where)" \ |
60 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
61 |
+ ipaddr.install || die |
62 |
+ dodoc CHANGES.md README.md |
63 |
+} |