1 |
commit: 199037a9dc0d6e6a54f5ac30f6249255a2c142bd |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 1 13:21:33 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 1 13:25:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=199037a9 |
7 |
|
8 |
dev-ml/ppx_ast: Initial import. Ebuild by me. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/ppx_ast/Manifest | 1 + |
13 |
dev-ml/ppx_ast/metadata.xml | 8 ++++++++ |
14 |
dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild | 32 ++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/ppx_ast/Manifest b/dev-ml/ppx_ast/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..650f2f587a7 |
20 |
--- /dev/null |
21 |
+++ b/dev-ml/ppx_ast/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST ppx_ast-0.9.1.tar.gz 86802 SHA256 62e08c4383226eeb0e9986871a4fa2a2e90c4bf54538b4a085b0b501631314c8 SHA512 4a5a9fb47282877763ecf9638e67bcd1b57110c1acfcf446703ed335b9fa5aaa1521c55a75fce6025f91e715f9c4522b695444dde4d3ffa7feed79560e399ad7 WHIRLPOOL 50f9523a30f7372a0a8a00d2922e8bfb0a627824dfccfd6ff36cd434c7455011942fc64e516cc51a4258f2efc786d6c7f73838a88ea4bc33e5c54ba5cb0afc93 |
24 |
|
25 |
diff --git a/dev-ml/ppx_ast/metadata.xml b/dev-ml/ppx_ast/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..ffac4d7ebc0 |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/ppx_ast/metadata.xml |
30 |
@@ -0,0 +1,8 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+<maintainer type="project"> |
35 |
+ <email>ml@g.o</email> |
36 |
+ <name>Gentoo ML Project</name> |
37 |
+</maintainer> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild b/dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild |
41 |
new file mode 100644 |
42 |
index 00000000000..a3773247852 |
43 |
--- /dev/null |
44 |
+++ b/dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild |
45 |
@@ -0,0 +1,32 @@ |
46 |
+# Copyright 1999-2017 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=6 |
50 |
+ |
51 |
+DESCRIPTION="AST used in Jane Street ppx rewriters" |
52 |
+HOMEPAGE="https://github.com/janestreet/ppx_ast" |
53 |
+SRC_URI="https://github.com/janestreet/ppx_ast/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
54 |
+ |
55 |
+LICENSE="Apache-2.0" |
56 |
+SLOT="0/${PV}" |
57 |
+KEYWORDS="~amd64" |
58 |
+IUSE="" |
59 |
+ |
60 |
+DEPEND=" |
61 |
+ dev-lang/ocaml:= |
62 |
+ dev-ml/ocaml-compiler-libs:= |
63 |
+ dev-ml/ocaml-migrate-parsetree:= |
64 |
+" |
65 |
+RDEPEND="${DEPEND}" |
66 |
+DEPEND="${RDEPEND} |
67 |
+ dev-ml/opam |
68 |
+ dev-ml/jbuilder" |
69 |
+ |
70 |
+src_install() { |
71 |
+ opam-installer -i \ |
72 |
+ --prefix="${ED}/usr" \ |
73 |
+ --libdir="${D}/$(ocamlc -where)" \ |
74 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
75 |
+ --mandir="${ED}/usr/share/man" \ |
76 |
+ ${PN}.install || die |
77 |
+} |