1 |
commit: 6d91438a6e3e80971bb42e8070a05a4726902399 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 12 16:42:26 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 12 19:20:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d91438a |
7 |
|
8 |
dev-ml/lambda-term: bump to 1.11 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/lambda-term/Manifest | 1 + |
13 |
dev-ml/lambda-term/files/lwtreact.patch | 13 +++++++++++ |
14 |
dev-ml/lambda-term/lambda-term-1.11.ebuild | 37 ++++++++++++++++++++++++++++++ |
15 |
3 files changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/lambda-term/Manifest b/dev-ml/lambda-term/Manifest |
18 |
index 4718b8bf09b..454597c74a5 100644 |
19 |
--- a/dev-ml/lambda-term/Manifest |
20 |
+++ b/dev-ml/lambda-term/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST lambda-term-1.10.1.tar.gz 162310 SHA256 d24e3ddc504c9a88309cf5f24f6cdc1b7950be64fcb4d5355b9c6da5197d8990 SHA512 e430b5039e5c7e4c55247c651e1b1cf61ce4b94537b84315e6f37287ecaecfc3459a7725f42d8e77219af0766ffbf5e0e55df1f5c6067c910b222b1e330b4e86 WHIRLPOOL a053dc9cca8cf67f597b1cffa01fed70530f0d5c7e0bd73f0dd29c865b16b5158ef70fab7433881cc07387359be87d0ce0c2197284f27c21187ddca8995d3452 |
23 |
+DIST lambda-term-1.11.tar.gz 125906 SHA256 f56c41e892e459beb12464f3ac2100726fcfb919057d6778c911ef6859a5942a SHA512 38654effe668d36766047f9e0ef74117c39a9f720322b92b9b8dcc5262c58de63fa36730c6a9c7d4921bf7bfd147753ce5d5a2da1c6df6171ee604b5bb224c27 WHIRLPOOL e1bdd5a12486937a1e3c701e65538fa7c096328afac374bb6952c631eb85ca7e56472b82ca52c9656d936dabbf73281ca40b291fed2ad6db59dab41c1b56e756 |
24 |
|
25 |
diff --git a/dev-ml/lambda-term/files/lwtreact.patch b/dev-ml/lambda-term/files/lwtreact.patch |
26 |
new file mode 100644 |
27 |
index 00000000000..b613d17595f |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/lambda-term/files/lwtreact.patch |
30 |
@@ -0,0 +1,13 @@ |
31 |
+Index: lambda-term-1.11/src/jbuild |
32 |
+=================================================================== |
33 |
+--- lambda-term-1.11.orig/src/jbuild |
34 |
++++ lambda-term-1.11/src/jbuild |
35 |
+@@ -26,7 +26,7 @@ let () = |
36 |
+ ((name lambda_term) |
37 |
+ (public_name lambda-term) |
38 |
+ (wrapped false) |
39 |
+- (libraries (lwt lwt.unix lwt.react zed)) |
40 |
++ (libraries (lwt lwt.unix lwt_react zed)) |
41 |
+ (synopsis "Cross-platform library for terminal manipulation") |
42 |
+ (c_names (lTerm_term_stubs lTerm_unix_stubs lTerm_windows_stubs)) |
43 |
+ %s)) |
44 |
|
45 |
diff --git a/dev-ml/lambda-term/lambda-term-1.11.ebuild b/dev-ml/lambda-term/lambda-term-1.11.ebuild |
46 |
new file mode 100644 |
47 |
index 00000000000..7c744aea621 |
48 |
--- /dev/null |
49 |
+++ b/dev-ml/lambda-term/lambda-term-1.11.ebuild |
50 |
@@ -0,0 +1,37 @@ |
51 |
+# Copyright 1999-2017 Gentoo Foundation |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=6 |
55 |
+ |
56 |
+DESCRIPTION="A cross-platform library for manipulating the terminal" |
57 |
+HOMEPAGE="https://github.com/diml/lambda-term" |
58 |
+SRC_URI="https://github.com/diml/lambda-term/archive/${PV}.tar.gz -> ${P}.tar.gz" |
59 |
+ |
60 |
+LICENSE="BSD" |
61 |
+SLOT="0/${PV}" |
62 |
+KEYWORDS="~amd64" |
63 |
+IUSE="" |
64 |
+ |
65 |
+DEPEND=" |
66 |
+ dev-lang/ocaml:= |
67 |
+ dev-ml/lwt_react:= |
68 |
+ >=dev-ml/lwt-2.4.0:= |
69 |
+ >=dev-ml/zed-1.2:= |
70 |
+ >=dev-ml/react-1.2:= |
71 |
+" |
72 |
+RDEPEND="${DEPEND}" |
73 |
+DEPEND="${DEPEND} |
74 |
+ dev-ml/jbuilder |
75 |
+ dev-ml/opam |
76 |
+" |
77 |
+ |
78 |
+PATCHES=( "${FILESDIR}/lwtreact.patch" ) |
79 |
+ |
80 |
+src_install() { |
81 |
+ opam-installer -i \ |
82 |
+ --prefix="${ED}/usr" \ |
83 |
+ --libdir="${D}/$(ocamlc -where)" \ |
84 |
+ --mandir="${ED}/usr/share/man" \ |
85 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
86 |
+ ${PN}.install || die |
87 |
+} |