summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-15 09:22:40 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-15 09:26:13 +0200
commit963351c6d45071346b268c17541243dcb4b876e2 (patch)
treecc1bb6778bd1a5a91fc891b0bf85634417cf341b
parentdev-ml/ppx_inline_test: convert to opam.eclass (diff)
downloadgentoo-963351c6d45071346b268c17541243dcb4b876e2.tar.gz
gentoo-963351c6d45071346b268c17541243dcb4b876e2.tar.bz2
gentoo-963351c6d45071346b268c17541243dcb4b876e2.zip
dev-ml/ppx_let: convert to opam.eclass
Package-Manager: Portage-2.3.7, Repoman-2.3.3
-rw-r--r--dev-ml/ppx_let/ppx_let-0.9.0.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-ml/ppx_let/ppx_let-0.9.0.ebuild b/dev-ml/ppx_let/ppx_let-0.9.0.ebuild
index cae7df67e6a..9dc54d315fe 100644
--- a/dev-ml/ppx_let/ppx_let-0.9.0.ebuild
+++ b/dev-ml/ppx_let/ppx_let-0.9.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Monadic let-bindings"
HOMEPAGE="https://github.com/janestreet/ppx_let"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -13,18 +15,9 @@ KEYWORDS="~amd64"
IUSE=""
DEPEND="
- dev-lang/ocaml:=
dev-ml/ppx_core:=
dev-ml/ppx_driver:=
dev-ml/ocaml-migrate-parsetree:=
"
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"