summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-15 09:22:05 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-15 09:26:13 +0200
commit0590a7604fde89e20f7d91cec9c56e90112a1093 (patch)
tree8c91bb04fdbf532f925c7839b18bdcf8bd328009 /dev-ml
parentfe19fc0464916b91452132bb3272ba89ef8d304e (diff)
downloadgentoo-0590a7604fde89e20f7d91cec9c56e90112a1093.tar.gz
gentoo-0590a7604fde89e20f7d91cec9c56e90112a1093.tar.xz
dev-ml/ppx_inline_test: convert to opam.eclass
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ppx_inline_test/ppx_inline_test-0.9.2.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-ml/ppx_inline_test/ppx_inline_test-0.9.2.ebuild b/dev-ml/ppx_inline_test/ppx_inline_test-0.9.2.ebuild
index 68e2df83520..16f96131b7a 100644
--- a/dev-ml/ppx_inline_test/ppx_inline_test-0.9.2.ebuild
+++ b/dev-ml/ppx_inline_test/ppx_inline_test-0.9.2.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Syntax extension for writing in-line tests in ocaml code"
HOMEPAGE="https://github.com/janestreet/ppx_inline_test"
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_core:=
dev-ml/ppx_driver:=
@@ -23,12 +24,4 @@ DEPEND="
"
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"