From: Alexis Ballier Date: Fri, 22 Sep 2017 08:22:07 +0000 (+0200) Subject: dev-ml/patience_diff: update to opam.eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d138138f716438f6a9d2b5261302f06ed7cd2a5;p=gentoo.git dev-ml/patience_diff: update to opam.eclass Package-Manager: Portage-2.3.10, Repoman-2.3.3 --- diff --git a/dev-ml/patience_diff/patience_diff-0.9.0.ebuild b/dev-ml/patience_diff/patience_diff-0.9.0.ebuild index 727b5d56ef37..cba06ddf9e13 100644 --- a/dev-ml/patience_diff/patience_diff-0.9.0.ebuild +++ b/dev-ml/patience_diff/patience_diff-0.9.0.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit opam + DESCRIPTION="Tool and library implementing patience diff" HOMEPAGE="https://github.com/janestreet/${PN}" SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -13,18 +15,9 @@ KEYWORDS="~amd64" IUSE="" RDEPEND=" - dev-lang/ocaml:= dev-ml/core_kernel:= dev-ml/ppx_driver:= dev-ml/ppx_jane:= dev-ml/ocaml-migrate-parsetree:= " -DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder" - -src_install() { - opam-installer -i \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${ED}/usr/share/doc/${PF}" \ - ${PN}.install || die -} +DEPEND="${RDEPEND} dev-ml/jbuilder"