commit:     3d59a59245133238f2d8e8c63f37c8582e45d898
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 22 08:24:44 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 08:31:45 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d59a592

dev-ml/ocaml-uri: update to opam.eclass

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-ml/ocaml-uri/ocaml-uri-1.9.4.ebuild | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/dev-ml/ocaml-uri/ocaml-uri-1.9.4.ebuild 
b/dev-ml/ocaml-uri/ocaml-uri-1.9.4.ebuild
index 87566fc4d15..53b7fbd0612 100644
--- a/dev-ml/ocaml-uri/ocaml-uri-1.9.4.ebuild
+++ b/dev-ml/ocaml-uri/ocaml-uri-1.9.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit findlib
+inherit findlib opam
 
 DESCRIPTION="RFC3986 URI parsing library for OCaml"
 HOMEPAGE="https://github.com/mirage/ocaml-uri https://mirage.io";
@@ -22,18 +22,12 @@ RDEPEND="
        dev-ml/ppx_type_conv:=
        dev-ml/stringext:=
        dev-ml/type-conv:=
-       dev-lang/ocaml:=
 "
 DEPEND="${RDEPEND}
        test? ( >=dev-ml/ounit-1.0.2 )
        dev-ml/jbuilder
-       dev-ml/opam
 "
 
 src_install() {
-       opam-installer -i \
-               --prefix="${ED}/usr" \
-               --libdir="${D}/$(ocamlc -where)" \
-               --docdir="${ED}/usr/share/doc/${PF}" \
-               uri.install || die
+       opam_src_install uri
 }

Reply via email to