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-dispatch/
Date: Sat, 29 Jul 2017 10:06:11
Message-Id: 1501322738.c02297c9c11addcd6f954b564e58b148f0bc2872.aballier@gentoo
1 commit: c02297c9c11addcd6f954b564e58b148f0bc2872
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 28 08:50:34 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 29 10:05:38 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02297c9
7
8 dev-ml/ocaml-dispatch: bump to 0.4.0
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-ml/ocaml-dispatch/Manifest | 1 +
13 dev-ml/ocaml-dispatch/ocaml-dispatch-0.4.0.ebuild | 43 +++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-ml/ocaml-dispatch/Manifest b/dev-ml/ocaml-dispatch/Manifest
17 index 2ab3e314bed..f9f4dc4fc5f 100644
18 --- a/dev-ml/ocaml-dispatch/Manifest
19 +++ b/dev-ml/ocaml-dispatch/Manifest
20 @@ -1 +1,2 @@
21 DIST ocaml-dispatch-0.3.0.tar.gz 51453 SHA256 ebb6bb60ec5a7c17a68711a801006f204b283989b5b9fa1dbe9bd781645f3913 SHA512 0f09eae45a2ecae27d07e247b6a47f307e074342e337e7be262f5183f77090f0aef81fb5c0bf499732bd0a711d4d51775cbcea5e463011f43a1777582d78806b WHIRLPOOL f77f459b34df41506ef1eb13e4d880a0bfed8166e60e2770b0cb6dc3ac2285281f4fc35c2b12465743492d8f730b6ad5585e995a3152a2c5e72638c335158256
22 +DIST ocaml-dispatch-0.4.0.tar.gz 7554 SHA256 6c8e77f2960742c16e187355bd1bdaf51ff83c377bf91c6cf4db72de026de5b2 SHA512 d5318bda4079c21820fce5b21d178ed88fd0535a5cdc559dd6ceeb4d06ffb08456ee5aec1e56efd40b6d4f456f7d5c7eda17dc728666e6514dc936898b605b36 WHIRLPOOL 646bcbe74eb10f8935010c797d65c65bf5e74bb532ae375cad00953fcdc0cd9ca93a28e5a453db311114aaf296805893877e8a3bc65cd86ece995e9cea6cf934
23
24 diff --git a/dev-ml/ocaml-dispatch/ocaml-dispatch-0.4.0.ebuild b/dev-ml/ocaml-dispatch/ocaml-dispatch-0.4.0.ebuild
25 new file mode 100644
26 index 00000000000..562ef548b9a
27 --- /dev/null
28 +++ b/dev-ml/ocaml-dispatch/ocaml-dispatch-0.4.0.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=5
34 +
35 +inherit findlib
36 +
37 +DESCRIPTION="Path-based dispatching for client- and server-side applications"
38 +HOMEPAGE="https://github.com/inhabitedtype/ocaml-dispatch"
39 +SRC_URI="https://github.com/inhabitedtype/ocaml-dispatch/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="BSD"
42 +SLOT="0/${PV}"
43 +KEYWORDS="~amd64"
44 +IUSE="test"
45 +
46 +DEPEND="
47 + dev-ml/result:=
48 + dev-lang/ocaml:=
49 +"
50 +RDEPEND="${DEPEND}"
51 +DEPEND="${DEPEND}
52 + dev-ml/jbuilder
53 + dev-ml/opam
54 + test? ( dev-ml/ounit )
55 +"
56 +
57 +src_compile() {
58 + jbuilder build -p dispatch || die
59 +}
60 +
61 +oinstall() {
62 + opam-installer -i \
63 + --prefix="${ED}/usr" \
64 + --libdir="${D}/$(ocamlc -where)" \
65 + --docdir="${ED}/usr/share/doc/${PF}" \
66 + --mandir="${ED}/usr/share/man" \
67 + ${1}.install || die
68 +}
69 +
70 +src_install() {
71 + oinstall dispatch
72 +}