Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/utop/
Date: Mon, 04 Jul 2022 15:14:32
Message-Id: 1656947508.c6f38e0711159034a5e89ae1c9cf2b5ee552b73e.xgqt@gentoo
1 commit: c6f38e0711159034a5e89ae1c9cf2b5ee552b73e
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 4 15:11:48 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 4 15:11:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6f38e07
7
8 dev-ml/utop: bump to 2.9.2
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 dev-ml/utop/Manifest | 1 +
13 dev-ml/utop/utop-2.9.2.ebuild | 63 +++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/dev-ml/utop/Manifest b/dev-ml/utop/Manifest
17 index d37e92506871..a5a7cf9c9f12 100644
18 --- a/dev-ml/utop/Manifest
19 +++ b/dev-ml/utop/Manifest
20 @@ -1,3 +1,4 @@
21 DIST utop-2.8.0.tar.gz 414059 BLAKE2B f94cc9a2e87d5341b1d7231574b1e0d8b179e600640281529ecfd2ce8827b9145d73030ea1ec59b20430d34155087f6d910c698c75d7566145c9db3a3ecbf872 SHA512 cf323249aa9a747081b3e39e8e8b99b69557082beb244dd0a28d64c6d11e3c03427c22da4fd364e9ae7f5d83d12ca3d2d48b9f4b6697ec704d486f3c23163dba
22 DIST utop-2.9.0.tar.gz 414953 BLAKE2B 96fbf38d4a638137b73264bc523b8a81e47ddd609a7987073313f4b1d628e4e84c31f98195105911dd0930b8d27007cf5cc1633771bc6d2e975bd169e1e3ba9c SHA512 dd3f52fb915493cb32b5ee722361e884a481d04ef175d5bdf58f4032b70826c38b2f5279b7c64b78961170a86bc80fbd59f03026fac99bb5da2b46a8f341aa45
23 DIST utop-2.9.1.tar.gz 421430 BLAKE2B c90a7fe54c5fbf15ce209e9bf850031e0368104c1f8f61a2d982b2b43d87b4bb95c91e3af6da16ae27ebfab71f2b9907e7dec68d34f619597fe8db45ff363bf4 SHA512 10942a4c7d2e13081f2e02c29b767863176fe90ca5baf48d3be47bb0871a12840d873e5d3eb7d7dd9b0362e849f70afb913ff50c07e66c6b7f221c8bb98fa469
24 +DIST utop-2.9.2.tar.gz 421512 BLAKE2B 235b4739e644877e4b9eef432a00ba053f42f2b4d4fdd9b0bd925af736d9a351c8f9373031bc4fc23835872034d48a27b8eac99d286f57cb975d2b1368f420c8 SHA512 14dd690b459cfea90c565b397b5d914add7e92b152b476ab58576dc827fa204b3d721955bfc3508bcb953778a8d6fb3b299b0293f8ddf64b3f0155fc9a0e7fda
25
26 diff --git a/dev-ml/utop/utop-2.9.2.ebuild b/dev-ml/utop/utop-2.9.2.ebuild
27 new file mode 100644
28 index 000000000000..cd05e5fc7a0c
29 --- /dev/null
30 +++ b/dev-ml/utop/utop-2.9.2.ebuild
31 @@ -0,0 +1,63 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit dune elisp-common
38 +
39 +DESCRIPTION="Universal toplevel for OCaml"
40 +HOMEPAGE="https://github.com/ocaml-community/utop"
41 +SRC_URI="https://github.com/ocaml-community/utop/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0/${PV}"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="emacs +ocamlopt"
47 +
48 +ELISP_DEPEND="
49 + emacs? (
50 + >=app-editors/emacs-24:*
51 + >=app-emacs/tuareg-mode-2.2.0
52 + )
53 +"
54 +DEPEND="
55 + dev-ml/camomile:=
56 + dev-ml/lambda-term:=
57 + dev-ml/lwt:=
58 + dev-ml/react:=
59 +"
60 +RDEPEND="
61 + ${DEPEND}
62 + ${ELISP_DEPEND}
63 +"
64 +BDEPEND="
65 + dev-ml/cppo
66 + dev-ml/findlib
67 + ${ELISP_DEPEND}
68 +"
69 +
70 +SITEFILE="50${PN}-gentoo.el"
71 +
72 +src_compile() {
73 + dune_src_compile
74 +
75 + use emacs &&
76 + BYTECOMPFLAGS="-L src/top" elisp-compile src/top/*.el
77 +}
78 +
79 +src_install() {
80 + dune_src_install
81 +
82 + if use emacs ; then
83 + elisp-install ${PN} src/top/*.el{,c}
84 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
85 + fi
86 +}
87 +
88 +pkg_postinst() {
89 + use emacs && elisp-site-regen
90 +}
91 +
92 +pkg_postrm() {
93 + use emacs && elisp-site-regen
94 +}