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/reason/
Date: Sun, 06 Aug 2017 12:30:42
Message-Id: 1502022628.319d34a0a150ee00b556be7e455860772bb2e391.aballier@gentoo
1 commit: 319d34a0a150ee00b556be7e455860772bb2e391
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 6 12:29:17 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 6 12:30:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=319d34a0
7
8 dev-ml/reason: update to opam.eclass
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-ml/reason/reason-2.0.0.ebuild | 14 +++-----------
13 1 file changed, 3 insertions(+), 11 deletions(-)
14
15 diff --git a/dev-ml/reason/reason-2.0.0.ebuild b/dev-ml/reason/reason-2.0.0.ebuild
16 index 1ef34e4b334..0fc83b36497 100644
17 --- a/dev-ml/reason/reason-2.0.0.ebuild
18 +++ b/dev-ml/reason/reason-2.0.0.ebuild
19 @@ -3,6 +3,8 @@
20
21 EAPI=6
22
23 +inherit opam
24 +
25 DESCRIPTION="Meta Language Toolchain"
26 HOMEPAGE="https://github.com/facebook/reason"
27 SRC_URI="https://github.com/facebook/reason/archive/${PV}.tar.gz -> ${P}.tar.gz"
28 @@ -13,7 +15,6 @@ KEYWORDS="~amd64"
29 IUSE="+ocamlopt"
30
31 DEPEND="
32 - dev-lang/ocaml:=[ocamlopt?]
33 dev-ml/reason-parser:=
34 dev-ml/merlin-extend:=
35 dev-ml/result:=
36 @@ -25,18 +26,9 @@ RDEPEND="${DEPEND}"
37 DEPEND="${DEPEND}
38 dev-ml/findlib
39 dev-ml/ocamlbuild
40 - dev-ml/opam"
41 +"
42
43 src_compile() {
44 emake precompile
45 emake build
46 }
47 -
48 -src_install() {
49 - opam-installer -i \
50 - --prefix="${ED}/usr" \
51 - --libdir="${D}/$(ocamlc -where)" \
52 - --docdir="${ED}/usr/share/doc/${PF}" \
53 - --mandir="${ED}/usr/share/man" \
54 - ${PN}.install || die
55 -}