summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-09-22 10:22:07 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-09-22 10:31:44 +0200
commit4d138138f716438f6a9d2b5261302f06ed7cd2a5 (patch)
treeebceccbd5cd920531762d157c81a866c88cb9fd4 /dev-ml/patience_diff
parentdev-ml/ppx_assert: update to opam.eclass (diff)
downloadgentoo-4d138138f716438f6a9d2b5261302f06ed7cd2a5.tar.gz
gentoo-4d138138f716438f6a9d2b5261302f06ed7cd2a5.tar.bz2
gentoo-4d138138f716438f6a9d2b5261302f06ed7cd2a5.zip
dev-ml/patience_diff: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-ml/patience_diff')
-rw-r--r--dev-ml/patience_diff/patience_diff-0.9.0.ebuild13
1 files changed, 3 insertions, 10 deletions
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"