Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/utop/
Date: Sat, 30 Apr 2016 17:17:56
Message-Id: 1462036663.0298fbdab399338b06881993005b0ed6dab8c287.aballier@gentoo
1 commit: 0298fbdab399338b06881993005b0ed6dab8c287
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 30 17:17:30 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 30 17:17:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0298fbda
7
8 dev-ml/utop: bump to 1.19.2
9
10 Package-Manager: portage-2.2.28
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 dev-ml/utop/Manifest | 1 +
14 dev-ml/utop/utop-1.19.2.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/dev-ml/utop/Manifest b/dev-ml/utop/Manifest
18 index f1e0162..67411ff 100644
19 --- a/dev-ml/utop/Manifest
20 +++ b/dev-ml/utop/Manifest
21 @@ -1,3 +1,4 @@
22 DIST utop-1.18.2.tar.gz 101774 SHA256 f55c218d6a58577adaec2aaa68f01af653d96db7aea21bc483f89b97d4efbb38 SHA512 7c5365d2effe74c4db17ec2c3696db3c88582c3cdc64a4750fe308f1b33d8ff95d14fa039aa38ca92592aa2ff6bd99f88efcb8327a441ff0f111c99e56397b3f WHIRLPOOL 39abfaa7881e34a6ed1cbcbcd700186910e6db7b980354f7f14442512c8ae2977234fbeb3164703fedf6bf5ed59a164ece716e7fcf942624a2f3c83b6d14da87
23 DIST utop-1.19.1.tar.gz 104347 SHA256 dbda26873180dcd17be33be4fc600794f20454ff5ec080d0b1b7e6b0e5ded636 SHA512 1caf208b96bdae214a969e2551be428dfe9ba3ded4adb2a0ac38f2ef1a066f63fa3e4ad70fb960525c829ddf78911574b9192eba66465cb471692e975e9a2c93 WHIRLPOOL 95bb9123630272216245ea8d2f8131320f4864906a30af7be451962272fca5a83efb8adef5e507d7f49be995190c9b552b0660915755641dee9f818746c03e2c
24 +DIST utop-1.19.2.tar.gz 104616 SHA256 509ab26f13cf5d0cf401fb0a313751ed19727b6dff65ef7df81ac05cf15cbe43 SHA512 4160b0576b1e860a54ecf8487bb9cd7259cc434d06a4da409671337bcc8342e4738cd5fa864ece54fa2b9f811597e8462556cf81d184d9d9c81e4463d76559c6 WHIRLPOOL aa608b95d8846fb48cafcea5d34a4a4fb984bf2265387378be1f3496afc63cbfcca6c2ca319503e7a942b81d1937acd44a9478256a652a32a12f584ca785f7d1
25 DIST utop-1.19.tar.gz 104253 SHA256 fbfd0fd0d45f4bd85c11c4c96ba8f8d12cb89378c05a61bae9ae35b87eced11e SHA512 d2943f47f8e2e508a33e09b60aef03e43ae82ae90e2d9378887b109178dbea9e64cc989042c8f9b68dce5ba33bb0b6483cd3920a35939f6aa89458a2d84847df WHIRLPOOL f62e29c2da97c39d73d5ee287bdf690dbaf3f4aa8aa544ecf8e1db77096dbe4672584fe899f5a1c7f0cd3f4693f582f1693744b4e41a1daa69f80782b1c43fb9
26
27 diff --git a/dev-ml/utop/utop-1.19.2.ebuild b/dev-ml/utop/utop-1.19.2.ebuild
28 new file mode 100644
29 index 0000000..8da80eb
30 --- /dev/null
31 +++ b/dev-ml/utop/utop-1.19.2.ebuild
32 @@ -0,0 +1,59 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +OASIS_BUILD_DOCS=1
40 +inherit oasis elisp-common
41 +
42 +DESCRIPTION="A new toplevel for OCaml with completion and colorization"
43 +HOMEPAGE="https://github.com/diml/utop"
44 +SRC_URI="https://github.com/diml/utop/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="BSD"
47 +SLOT="0/${PV}"
48 +KEYWORDS="~amd64"
49 +IUSE="camlp4 emacs"
50 +
51 +DEPEND=">=dev-ml/lwt-2.4.0:=[react]
52 + >=dev-ml/lambda-term-1.2:=
53 + >=dev-ml/zed-1.2:=
54 + >=dev-ml/cppo-1.0.1:=
55 + emacs? ( virtual/emacs )
56 + camlp4? ( || ( dev-ml/camlp4:= <dev-lang/ocaml-4.02.0 ) )"
57 +RDEPEND="${DEPEND}"
58 +
59 +DOCS=( "CHANGES.md" "README.md" )
60 +SITEFILE="50${PN}-gentoo.el"
61 +
62 +src_prepare() {
63 + sed -i "s/(\"utop.el.*)//" setup.ml
64 +}
65 +
66 +src_configure() {
67 + oasis_configure_opts="$(use_enable camlp4)" \
68 + oasis_src_configure
69 +}
70 +src_compile() {
71 + oasis_src_compile
72 + if use emacs; then
73 + elisp-compile src/top/*.el
74 + fi
75 +}
76 +
77 +src_install() {
78 + oasis_src_install
79 + if use emacs; then
80 + elisp-install "${PN}" src/top/*.el src/top/*.elc || die
81 + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
82 + fi
83 +}
84 +
85 +pkg_postinst() {
86 + use emacs && elisp-site-regen
87 +}
88 +
89 +pkg_postrm() {
90 + use emacs && elisp-site-regen
91 +}