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/react/
Date: Sun, 06 Aug 2017 12:30:41
Message-Id: 1502022628.0ba9bbdcb7d2401d7211ed560fdbf0b4f293c19e.aballier@gentoo
1 commit: 0ba9bbdcb7d2401d7211ed560fdbf0b4f293c19e
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 6 12:26:34 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=0ba9bbdc
7
8 dev-ml/react: convert to opam.eclass
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-ml/react/react-1.2.1.ebuild | 14 +++-----------
13 1 file changed, 3 insertions(+), 11 deletions(-)
14
15 diff --git a/dev-ml/react/react-1.2.1.ebuild b/dev-ml/react/react-1.2.1.ebuild
16 index 5793d0daca0..de34f259d5a 100644
17 --- a/dev-ml/react/react-1.2.1.ebuild
18 +++ b/dev-ml/react/react-1.2.1.ebuild
19 @@ -3,6 +3,8 @@
20
21 EAPI="5"
22
23 +inherit opam
24 +
25 DESCRIPTION="OCaml module for functional reactive programming"
26 HOMEPAGE="http://erratique.ch/software/react https://github.com/dbuenzli/react"
27 SRC_URI="http://erratique.ch/software/react/releases/${P}.tbz"
28 @@ -12,10 +14,9 @@ SLOT="0/${PV}"
29 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd"
30 IUSE="test"
31
32 -RDEPEND=">=dev-lang/ocaml-3.12:="
33 +RDEPEND=""
34 DEPEND="${RDEPEND}
35 dev-ml/findlib
36 - dev-ml/opam
37 >=dev-ml/topkg-0.9
38 "
39
40 @@ -28,12 +29,3 @@ src_compile() {
41 src_test() {
42 ocaml pkg/pkg.ml test || die
43 }
44 -
45 -src_install() {
46 - opam-installer \
47 - --prefix="${ED}/usr" \
48 - --libdir="${D}/$(ocamlc -where)" \
49 - --docdir="${ED}/usr/share/doc/${PF}" \
50 - || die
51 - dodoc CHANGES.md README.md TODO.md
52 -}