Skip to content

Commit

Permalink
dev-ml/lambda-term: bump to 1.11
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.5, Repoman-2.3.2
  • Loading branch information
aballier committed Apr 12, 2017
1 parent 8538edf commit 6d91438
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ml/lambda-term/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST lambda-term-1.10.1.tar.gz 162310 SHA256 d24e3ddc504c9a88309cf5f24f6cdc1b7950be64fcb4d5355b9c6da5197d8990 SHA512 e430b5039e5c7e4c55247c651e1b1cf61ce4b94537b84315e6f37287ecaecfc3459a7725f42d8e77219af0766ffbf5e0e55df1f5c6067c910b222b1e330b4e86 WHIRLPOOL a053dc9cca8cf67f597b1cffa01fed70530f0d5c7e0bd73f0dd29c865b16b5158ef70fab7433881cc07387359be87d0ce0c2197284f27c21187ddca8995d3452
DIST lambda-term-1.11.tar.gz 125906 SHA256 f56c41e892e459beb12464f3ac2100726fcfb919057d6778c911ef6859a5942a SHA512 38654effe668d36766047f9e0ef74117c39a9f720322b92b9b8dcc5262c58de63fa36730c6a9c7d4921bf7bfd147753ce5d5a2da1c6df6171ee604b5bb224c27 WHIRLPOOL e1bdd5a12486937a1e3c701e65538fa7c096328afac374bb6952c631eb85ca7e56472b82ca52c9656d936dabbf73281ca40b291fed2ad6db59dab41c1b56e756
13 changes: 13 additions & 0 deletions dev-ml/lambda-term/files/lwtreact.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Index: lambda-term-1.11/src/jbuild
===================================================================
--- lambda-term-1.11.orig/src/jbuild
+++ lambda-term-1.11/src/jbuild
@@ -26,7 +26,7 @@ let () =
((name lambda_term)
(public_name lambda-term)
(wrapped false)
- (libraries (lwt lwt.unix lwt.react zed))
+ (libraries (lwt lwt.unix lwt_react zed))
(synopsis "Cross-platform library for terminal manipulation")
(c_names (lTerm_term_stubs lTerm_unix_stubs lTerm_windows_stubs))
%s))
37 changes: 37 additions & 0 deletions dev-ml/lambda-term/lambda-term-1.11.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="A cross-platform library for manipulating the terminal"
HOMEPAGE="https://github.com/diml/lambda-term"
SRC_URI="https://github.com/diml/lambda-term/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""

DEPEND="
dev-lang/ocaml:=
dev-ml/lwt_react:=
>=dev-ml/lwt-2.4.0:=
>=dev-ml/zed-1.2:=
>=dev-ml/react-1.2:=
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
dev-ml/jbuilder
dev-ml/opam
"

PATCHES=( "${FILESDIR}/lwtreact.patch" )

src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--mandir="${ED}/usr/share/man" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
}

0 comments on commit 6d91438

Please sign in to comment.