commit:     36f20f5cff468ad6fa8bdfd865707418ca3d4c45
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  6 12:30:17 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 12:30:28 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f20f5c

dev-ml/reactiveData: update to opam.eclass

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-ml/reactiveData/reactiveData-0.2.1.ebuild | 17 ++++-------------
 dev-ml/reactiveData/reactiveData-9999.ebuild  | 17 ++++-------------
 2 files changed, 8 insertions(+), 26 deletions(-)

diff --git a/dev-ml/reactiveData/reactiveData-0.2.1.ebuild 
b/dev-ml/reactiveData/reactiveData-0.2.1.ebuild
index dfdc2e18f2e..a74fc715fcf 100644
--- a/dev-ml/reactiveData/reactiveData-0.2.1.ebuild
+++ b/dev-ml/reactiveData/reactiveData-0.2.1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
+inherit opam
+
 DESCRIPTION="Functional reactive programming with incremental changes in data 
structures"
 HOMEPAGE="https://github.com/ocsigen/reactiveData";
 
@@ -20,11 +22,9 @@ LICENSE="LGPL-3-with-linking-exception"
 SLOT="0/${PV}"
 IUSE="+ocamlopt"
 
-RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
-       dev-ml/react:="
+RDEPEND="dev-ml/react:="
 DEPEND="${RDEPEND}
        dev-ml/findlib
-       dev-ml/opam
        dev-ml/ocamlbuild
 "
 
@@ -34,12 +34,3 @@ src_compile() {
                native-dynlink=$(usex ocamlopt true false) \
                || die
 }
-
-src_install() {
-       opam-installer \
-               --prefix="${ED}/usr" \
-               --libdir="${D}/$(ocamlc -where)" \
-               --docdir="${ED}/usr/share/doc/${PF}" \
-               || die
-       dodoc README.md
-}

diff --git a/dev-ml/reactiveData/reactiveData-9999.ebuild 
b/dev-ml/reactiveData/reactiveData-9999.ebuild
index dfdc2e18f2e..a74fc715fcf 100644
--- a/dev-ml/reactiveData/reactiveData-9999.ebuild
+++ b/dev-ml/reactiveData/reactiveData-9999.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
+inherit opam
+
 DESCRIPTION="Functional reactive programming with incremental changes in data 
structures"
 HOMEPAGE="https://github.com/ocsigen/reactiveData";
 
@@ -20,11 +22,9 @@ LICENSE="LGPL-3-with-linking-exception"
 SLOT="0/${PV}"
 IUSE="+ocamlopt"
 
-RDEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]
-       dev-ml/react:="
+RDEPEND="dev-ml/react:="
 DEPEND="${RDEPEND}
        dev-ml/findlib
-       dev-ml/opam
        dev-ml/ocamlbuild
 "
 
@@ -34,12 +34,3 @@ src_compile() {
                native-dynlink=$(usex ocamlopt true false) \
                || die
 }
-
-src_install() {
-       opam-installer \
-               --prefix="${ED}/usr" \
-               --libdir="${D}/$(ocamlc -where)" \
-               --docdir="${ED}/usr/share/doc/${PF}" \
-               || die
-       dodoc README.md
-}

Reply via email to