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/rresult/
Date: Sun, 06 Aug 2017 12:30:39
Message-Id: 1502022627.70f3de407f8762577eadfb7ecc300980d80219ba.aballier@gentoo
1 commit: 70f3de407f8762577eadfb7ecc300980d80219ba
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 6 12:07:13 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 6 12:30:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70f3de40
7
8 dev-ml/rresult: convert to opam.eclass
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-ml/rresult/rresult-0.5.0.ebuild | 16 +++-------------
13 1 file changed, 3 insertions(+), 13 deletions(-)
14
15 diff --git a/dev-ml/rresult/rresult-0.5.0.ebuild b/dev-ml/rresult/rresult-0.5.0.ebuild
16 index 5078c39a985..85613f2d372 100644
17 --- a/dev-ml/rresult/rresult-0.5.0.ebuild
18 +++ b/dev-ml/rresult/rresult-0.5.0.ebuild
19 @@ -3,6 +3,8 @@
20
21 EAPI=6
22
23 +inherit opam
24 +
25 DESCRIPTION="Result value combinators for OCaml"
26 HOMEPAGE="http://erratique.ch/software/rresult https://github.com/dbuenzli/rresult"
27 SRC_URI="http://erratique.ch/software/rresult/releases/${P}.tbz"
28 @@ -12,23 +14,11 @@ SLOT="0/${PV}"
29 KEYWORDS="~amd64"
30 IUSE=""
31
32 -RDEPEND="
33 - dev-lang/ocaml:=
34 - dev-ml/result:=
35 -"
36 +RDEPEND="dev-ml/result:="
37 DEPEND="${RDEPEND}
38 dev-ml/topkg
39 - dev-ml/opam
40 dev-ml/ocamlbuild"
41
42 src_compile() {
43 ocaml pkg/pkg.ml build || die
44 }
45 -
46 -src_install() {
47 - opam-installer -i \
48 - --prefix="${ED}/usr" \
49 - --libdir="${D}/$(ocamlc -where)" \
50 - --docdir="${ED}/usr/share/doc/${PF}" \
51 - ${PN}.install || die
52 -}