1 |
commit: b4e1099cce88448b1d361cfe03d31a85e382b5c9 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 15 07:23:18 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 15 07:26:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e1099c |
7 |
|
8 |
dev-ml/ppx_here: convert to opam.eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.7, Repoman-2.3.3 |
11 |
|
12 |
dev-ml/ppx_here/ppx_here-0.9.1.ebuild | 13 +++---------- |
13 |
1 file changed, 3 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/dev-ml/ppx_here/ppx_here-0.9.1.ebuild b/dev-ml/ppx_here/ppx_here-0.9.1.ebuild |
16 |
index 40ed6efdfd8..972fc65d0d4 100644 |
17 |
--- a/dev-ml/ppx_here/ppx_here-0.9.1.ebuild |
18 |
+++ b/dev-ml/ppx_here/ppx_here-0.9.1.ebuild |
19 |
@@ -3,6 +3,8 @@ |
20 |
|
21 |
EAPI=6 |
22 |
|
23 |
+inherit opam |
24 |
+ |
25 |
DESCRIPTION="Expands [%here] into its location" |
26 |
HOMEPAGE="https://github.com/janestreet/ppx_here" |
27 |
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
28 |
@@ -13,19 +15,10 @@ KEYWORDS="~amd64" |
29 |
IUSE="" |
30 |
|
31 |
DEPEND=" |
32 |
- dev-lang/ocaml:= |
33 |
dev-ml/ppx_core:= |
34 |
dev-ml/ppx_driver:= |
35 |
dev-ml/ppx_optcomp:= |
36 |
dev-ml/ocaml-migrate-parsetree:= |
37 |
" |
38 |
RDEPEND="${DEPEND}" |
39 |
-DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder" |
40 |
- |
41 |
-src_install() { |
42 |
- opam-installer -i \ |
43 |
- --prefix="${ED}/usr" \ |
44 |
- --libdir="${D}/$(ocamlc -where)" \ |
45 |
- --docdir="${ED}/usr/share/doc/${PF}" \ |
46 |
- ${PN}.install || die |
47 |
-} |
48 |
+DEPEND="${RDEPEND} dev-ml/jbuilder" |