1 |
commit: 74f12defd4da532db8e883ca280bed75a381349f |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 2 11:15:33 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 2 11:22:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f12def |
7 |
|
8 |
dev-ml/sexplib: convert to opam.eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-ml/sexplib/sexplib-0.9.2.ebuild | 15 ++++----------- |
13 |
1 file changed, 4 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/dev-ml/sexplib/sexplib-0.9.2.ebuild b/dev-ml/sexplib/sexplib-0.9.2.ebuild |
16 |
index 8ea3c1e3150..0def0f6d5df 100644 |
17 |
--- a/dev-ml/sexplib/sexplib-0.9.2.ebuild |
18 |
+++ b/dev-ml/sexplib/sexplib-0.9.2.ebuild |
19 |
@@ -3,6 +3,8 @@ |
20 |
|
21 |
EAPI=6 |
22 |
|
23 |
+inherit opam |
24 |
+ |
25 |
DESCRIPTION="Library for automated conversion of OCaml-values to and from S-expressions" |
26 |
HOMEPAGE="https://github.com/janestreet/sexplib" |
27 |
SRC_URI="https://github.com/janestreet/sexplib/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
28 |
@@ -12,18 +14,9 @@ SLOT="0/${PV}" |
29 |
KEYWORDS="~amd64 ~ppc" |
30 |
IUSE="" |
31 |
|
32 |
-RDEPEND="dev-lang/ocaml:=" |
33 |
-DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder" |
34 |
+RDEPEND="" |
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 |
- dodoc CHANGES.md README.org |
48 |
-} |