diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-04-12 18:42:26 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-04-12 21:20:25 +0200 |
commit | 6d91438a6e3e80971bb42e8070a05a4726902399 (patch) | |
tree | b297b217c2aa964cc75d2a054c67ff2c87c901fa /dev-ml | |
parent | dev-ml/lwt_ssl: initial import, split out of dev-ml/lwt (diff) | |
download | gentoo-6d91438a6e3e80971bb42e8070a05a4726902399.tar.gz gentoo-6d91438a6e3e80971bb42e8070a05a4726902399.tar.bz2 gentoo-6d91438a6e3e80971bb42e8070a05a4726902399.zip |
dev-ml/lambda-term: bump to 1.11
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/lambda-term/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/lambda-term/files/lwtreact.patch | 13 | ||||
-rw-r--r-- | dev-ml/lambda-term/lambda-term-1.11.ebuild | 37 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-ml/lambda-term/Manifest b/dev-ml/lambda-term/Manifest index 4718b8bf09b9..454597c74a58 100644 --- a/dev-ml/lambda-term/Manifest +++ b/dev-ml/lambda-term/Manifest @@ -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 diff --git a/dev-ml/lambda-term/files/lwtreact.patch b/dev-ml/lambda-term/files/lwtreact.patch new file mode 100644 index 000000000000..b613d17595f5 --- /dev/null +++ b/dev-ml/lambda-term/files/lwtreact.patch @@ -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)) diff --git a/dev-ml/lambda-term/lambda-term-1.11.ebuild b/dev-ml/lambda-term/lambda-term-1.11.ebuild new file mode 100644 index 000000000000..7c744aea6219 --- /dev/null +++ b/dev-ml/lambda-term/lambda-term-1.11.ebuild @@ -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 +} |