diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-09-22 10:06:48 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-09-22 10:31:34 +0200 |
commit | bcd76eedffb07d9f72e82a976d53ca7f6ae9a5a3 (patch) | |
tree | 96db1921049bdcb28f9870fa050143aac54320a0 /dev-ml | |
parent | 4ad879b32eeb446f8a03eb72417e8be6c55572df (diff) | |
download | gentoo-bcd76eedffb07d9f72e82a976d53ca7f6ae9a5a3.tar.gz gentoo-bcd76eedffb07d9f72e82a976d53ca7f6ae9a5a3.tar.xz |
dev-ml/ppx_expect: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/ppx_expect/ppx_expect-0.9.0.ebuild | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-ml/ppx_expect/ppx_expect-0.9.0.ebuild b/dev-ml/ppx_expect/ppx_expect-0.9.0.ebuild index 06f32df2666..3ab20bb348f 100644 --- a/dev-ml/ppx_expect/ppx_expect-0.9.0.ebuild +++ b/dev-ml/ppx_expect/ppx_expect-0.9.0.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit opam + DESCRIPTION="Cram like framework for OCaml" HOMEPAGE="https://github.com/janestreet/ppx_expect" SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -13,7 +15,6 @@ KEYWORDS="~amd64" IUSE="" DEPEND=" - dev-lang/ocaml:= dev-ml/base:= dev-ml/ppx_assert:= dev-ml/ppx_compare:= @@ -32,12 +33,4 @@ DEPEND=" dev-ml/ocaml-re:= " 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" |