1 |
commit: 6e96b59e2e0e869248075e01768861b52ff3e666 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 2 11:22:17 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 2 11:22:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e96b59e |
7 |
|
8 |
dev-ml/stdio: convert to opam.eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-ml/stdio/stdio-0.9.0.ebuild | 14 ++++---------- |
13 |
1 file changed, 4 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/dev-ml/stdio/stdio-0.9.0.ebuild b/dev-ml/stdio/stdio-0.9.0.ebuild |
16 |
index 2fae200cc4f..370b1ec250f 100644 |
17 |
--- a/dev-ml/stdio/stdio-0.9.0.ebuild |
18 |
+++ b/dev-ml/stdio/stdio-0.9.0.ebuild |
19 |
@@ -3,6 +3,8 @@ |
20 |
|
21 |
EAPI=6 |
22 |
|
23 |
+inherit opam |
24 |
+ |
25 |
DESCRIPTION="Standard IO Library for OCaml" |
26 |
HOMEPAGE="https://github.com/janestreet/stdio" |
27 |
SRC_URI="https://github.com/janestreet/stdio/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
28 |
@@ -12,17 +14,9 @@ SLOT="0/${PV}" |
29 |
KEYWORDS="~amd64" |
30 |
IUSE="" |
31 |
|
32 |
-RDEPEND="dev-lang/ocaml:= dev-ml/base:=" |
33 |
-DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder" |
34 |
+RDEPEND="dev-ml/base:=" |
35 |
+DEPEND="${RDEPEND} dev-ml/jbuilder" |
36 |
|
37 |
src_test() { |
38 |
jbuilder runtest || die |
39 |
} |
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 |
-} |