commit:     137bda16f0642fa693ee8b084eae9487d24ea3e3
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 14 20:35:57 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 05:36:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137bda16

dev-ml/ocaml-migrate-parsetree: convert to opam.eclass

Package-Manager: Portage-2.3.7, Repoman-2.3.3

 .../ocaml-migrate-parsetree-1.0.3.ebuild              | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git 
a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.3.ebuild 
b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.3.ebuild
index 57316b1bc30..da28219a542 100644
--- a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.3.ebuild
+++ b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit findlib
+inherit findlib opam
 
 DESCRIPTION="Convert OCaml parsetrees between different major versions"
 HOMEPAGE="https://github.com/let-def/ocaml-migrate-parsetree";
@@ -14,20 +14,7 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
 IUSE=""
 
-DEPEND="
-       dev-lang/ocaml:=
-       dev-ml/result:=
-"
+DEPEND="dev-ml/result:="
 RDEPEND="${DEPEND}"
 DEPEND="${DEPEND}
-       dev-ml/jbuilder
-       dev-ml/opam"
-
-src_install() {
-       opam-installer -i \
-               --prefix="${ED}/usr" \
-               --libdir="${D}/$(ocamlc -where)" \
-               --docdir="${ED}/usr/share/doc/${PF}" \
-               --mandir="${ED}/usr/share/man" \
-               ${PN}.install || die
-}
+       dev-ml/jbuilder"

Reply via email to