commit:     c5aca924d7eb87474102a4e135420e99840e79bd
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 22 08:13:13 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 08:31:38 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5aca924

dev-ml/fmt: update to opam.eclass

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-ml/fmt/fmt-0.8.4.ebuild | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/dev-ml/fmt/fmt-0.8.4.ebuild b/dev-ml/fmt/fmt-0.8.4.ebuild
index 8e0f58572e5..19b27b4284d 100644
--- a/dev-ml/fmt/fmt-0.8.4.ebuild
+++ b/dev-ml/fmt/fmt-0.8.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit findlib
+inherit findlib opam
 
 DESCRIPTION="Combinators to devise OCaml Format pretty-printing functions"
 HOMEPAGE="http://erratique.ch/software/fmt https://github.com/dbuenzli/fmt";
@@ -19,7 +19,6 @@ RDEPEND="dev-ml/result:=[ocamlopt]
        dev-ml/uchar:=[ocamlopt]
        dev-ml/cmdliner:=[ocamlopt]"
 DEPEND="${RDEPEND}
-       dev-ml/opam
        >=dev-ml/topkg-0.9
        dev-ml/ocamlbuild
        dev-ml/findlib"
@@ -31,12 +30,3 @@ src_compile() {
 src_test() {
        ocaml pkg/pkg.ml test || die
 }
-
-src_install() {
-       opam-installer -i \
-               --prefix="${ED}/usr" \
-               --libdir="${D}/$(ocamlc -where)" \
-               --docdir="${ED}/usr/share/doc/${PF}" \
-               ${PN}.install || die
-       dodoc CHANGES.md README.md
-}

Reply via email to