1 |
commit: a42256baa926156020349dd451442d3aebb88dc4 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 23 12:29:31 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 23 12:31:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42256ba |
7 |
|
8 |
dev-ml/atd: split atdgen again |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/atd/atd-1.12.0.ebuild | 14 +++++++++----- |
13 |
1 file changed, 9 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/dev-ml/atd/atd-1.12.0.ebuild b/dev-ml/atd/atd-1.12.0.ebuild |
16 |
index da91321baad..5095732e9dd 100644 |
17 |
--- a/dev-ml/atd/atd-1.12.0.ebuild |
18 |
+++ b/dev-ml/atd/atd-1.12.0.ebuild |
19 |
@@ -12,22 +12,27 @@ SRC_URI="https://github.com/mjambon/atd/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
20 |
LICENSE="BSD" |
21 |
SLOT="0/${PV}" |
22 |
KEYWORDS="~amd64" |
23 |
-IUSE="+ocamlopt" |
24 |
+IUSE="+ocamlopt test" |
25 |
|
26 |
DEPEND=" |
27 |
dev-lang/ocaml:=[ocamlopt?] |
28 |
dev-ml/easy-format:=[ocamlopt?] |
29 |
dev-ml/menhir:=[ocamlopt?] |
30 |
- dev-ml/biniou:= |
31 |
- dev-ml/yojson:= |
32 |
- !dev-ml/atdgen |
33 |
" |
34 |
RDEPEND="${DEPEND}" |
35 |
DEPEND="${DEPEND} |
36 |
dev-ml/jbuilder |
37 |
dev-ml/opam |
38 |
+ test? ( |
39 |
+ dev-ml/biniou |
40 |
+ dev-ml/yojson |
41 |
+ ) |
42 |
" |
43 |
|
44 |
+src_compile() { |
45 |
+ jbuilder build -p atd || die |
46 |
+} |
47 |
+ |
48 |
oinstall() { |
49 |
opam-installer -i \ |
50 |
--prefix="${ED}/usr" \ |
51 |
@@ -38,5 +43,4 @@ oinstall() { |
52 |
|
53 |
src_install() { |
54 |
oinstall atd |
55 |
- oinstall atdgen |
56 |
} |