From: Alexis Ballier Date: Sun, 6 Aug 2017 12:06:12 +0000 (+0200) Subject: dev-ml/typerep: convert to opam.eclass X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6498f607aaef23fd2d311d310dc86bc6f46d85a1;p=gentoo.git dev-ml/typerep: convert to opam.eclass Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- diff --git a/dev-ml/typerep/typerep-0.9.0.ebuild b/dev-ml/typerep/typerep-0.9.0.ebuild index 7359a76a68ae..2940a4604344 100644 --- a/dev-ml/typerep/typerep-0.9.0.ebuild +++ b/dev-ml/typerep/typerep-0.9.0.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit opam + DESCRIPTION="Library for creating runtime representation of OCaml types" HOMEPAGE="https://github.com/janestreet/typerep" SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -12,18 +14,6 @@ SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="" -DEPEND=" - dev-lang/ocaml:= - dev-ml/base:= -" - +DEPEND="dev-ml/base:=" RDEPEND="${DEPEND}" -DEPEND="${DEPEND} 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="${DEPEND} dev-ml/jbuilder"