Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/typerep/
Date: Sun, 06 Aug 2017 12:30:39
Message-Id: 1502022627.6498f607aaef23fd2d311d310dc86bc6f46d85a1.aballier@gentoo
1 commit: 6498f607aaef23fd2d311d310dc86bc6f46d85a1
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 6 12:06:12 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 6 12:30:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6498f607
7
8 dev-ml/typerep: convert to opam.eclass
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-ml/typerep/typerep-0.9.0.ebuild | 18 ++++--------------
13 1 file changed, 4 insertions(+), 14 deletions(-)
14
15 diff --git a/dev-ml/typerep/typerep-0.9.0.ebuild b/dev-ml/typerep/typerep-0.9.0.ebuild
16 index 7359a76a68a..2940a460434 100644
17 --- a/dev-ml/typerep/typerep-0.9.0.ebuild
18 +++ b/dev-ml/typerep/typerep-0.9.0.ebuild
19 @@ -3,6 +3,8 @@
20
21 EAPI=6
22
23 +inherit opam
24 +
25 DESCRIPTION="Library for creating runtime representation of OCaml types"
26 HOMEPAGE="https://github.com/janestreet/typerep"
27 SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
28 @@ -12,18 +14,6 @@ SLOT="0/${PV}"
29 KEYWORDS="~amd64"
30 IUSE=""
31
32 -DEPEND="
33 - dev-lang/ocaml:=
34 - dev-ml/base:=
35 -"
36 -
37 +DEPEND="dev-ml/base:="
38 RDEPEND="${DEPEND}"
39 -DEPEND="${DEPEND} 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="${DEPEND} dev-ml/jbuilder"