commit:     c567658d3d151388a97364ae0fac3477bb782f3d
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 22 08:14:26 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 08:31:39 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c567658d

dev-ml/mtime: update to opam.eclass

Package-Manager: Portage-2.3.10, Repoman-2.3.3

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

diff --git a/dev-ml/mtime/mtime-1.1.0.ebuild b/dev-ml/mtime/mtime-1.1.0.ebuild
index 02c8e3c2155..1c5185f3abd 100644
--- a/dev-ml/mtime/mtime-1.1.0.ebuild
+++ b/dev-ml/mtime/mtime-1.1.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit eutils
+inherit eutils opam
 
 DESCRIPTION="OCaml module to access monotonic wall-clock time"
 HOMEPAGE="http://erratique.ch/software/mtime https://github.com/dbuenzli/mtime";
@@ -18,7 +18,6 @@ RDEPEND="dev-lang/ocaml:=[ocamlopt]
        javascript? ( dev-ml/js_of_ocaml:= )
 "
 DEPEND="${RDEPEND}
-       dev-ml/opam
        dev-ml/topkg
        dev-ml/ocamlbuild
        dev-ml/findlib"
@@ -33,12 +32,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