public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/merlin/
Date: Fri, 19 Mar 2021 10:24:00 +0000 (UTC)	[thread overview]
Message-ID: <1616149426.e90cd3a78292328d6011bb750cadf46c8bef72b8.sam@gentoo> (raw)

commit:     e90cd3a78292328d6011bb750cadf46c8bef72b8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 19 09:51:42 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 19 10:23:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90cd3a7

dev-ml/merlin: add 4.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/merlin/merlin-4.1.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

diff --git a/dev-ml/merlin/merlin-4.1.ebuild b/dev-ml/merlin/merlin-4.1.ebuild
new file mode 100644
index 00000000000..44da757af90
--- /dev/null
+++ b/dev-ml/merlin/merlin-4.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# TODO: vim-plugin, although it's not clear how to make it work here
+inherit elisp-common dune
+
+DESCRIPTION="Context sensitive completion for OCaml in Vim and Emacs"
+HOMEPAGE="https://github.com/ocaml/merlin"
+SRC_URI="https://github.com/ocaml/merlin/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="emacs +ocamlopt"
+
+RDEPEND="
+	app-emacs/auto-complete
+	app-emacs/company-mode
+	dev-ml/csexp:=
+	dev-ml/yojson:=
+	=dev-lang/ocaml-4.11*:=
+	emacs? ( >=app-editors/emacs-23.1:* )
+"
+DEPEND="${RDEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+	default
+
+	# Handle installation via the eclass
+	rm emacs/dune || die
+}
+
+src_compile() {
+	dune_src_compile
+
+	if use emacs ; then
+		# Build the emacs integration
+		cd emacs || die
+
+		# iedit isn't packaged yet
+		rm merlin-iedit.el || die
+
+		elisp-compile *.el
+	fi
+}
+
+src_install() {
+	dune_src_install
+
+	if use emacs ; then
+		cd "${S}/emacs" || die
+		elisp-install ${PN} *.el *.elc
+		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+	fi
+}
+
+pkg_postinst() {
+	use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+	use emacs && elisp-site-regen
+}


             reply	other threads:[~2021-03-19 10:24 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-19 10:24 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-01 22:27 [gentoo-commits] repo/gentoo:master commit in: dev-ml/merlin/ Maciej Barć
2024-12-27 18:52 Maciej Barć
2024-12-27 18:52 Maciej Barć
2024-11-17 21:08 Alfredo Tupone
2024-11-17 15:21 Alfredo Tupone
2024-07-17 20:27 Maciej Barć
2024-06-09 21:22 Maciej Barć
2024-06-09 21:22 Maciej Barć
2024-06-08 23:11 Maciej Barć
2024-02-08 10:31 Maciej Barć
2024-02-08 10:31 Maciej Barć
2024-02-08 10:31 Maciej Barć
2023-10-09  7:35 Maciej Barć
2023-10-09  7:35 Maciej Barć
2023-08-27 12:42 Maciej Barć
2023-08-27 12:42 Maciej Barć
2023-08-27 12:42 Maciej Barć
2023-08-10 22:19 Maciej Barć
2023-02-12 13:28 Alfredo Tupone
2022-11-29 23:58 Maciej Barć
2022-11-29 23:58 Maciej Barć
2022-11-29 23:58 Maciej Barć
2022-11-29 23:58 Maciej Barć
2022-11-29 23:58 Maciej Barć
2022-11-28 20:33 Maciej Barć
2022-10-23  8:14 Maciej Barć
2022-09-25 19:01 Maciej Barć
2022-07-23  0:06 Maciej Barć
2022-07-22  2:26 Maciej Barć
2022-06-21  1:53 Sam James
2022-06-08 20:27 Maciej Barć
2022-04-12 21:43 Maciej Barć
2022-01-26  7:55 Alfredo Tupone
2022-01-16 10:35 Alfredo Tupone
2021-10-17 14:54 Alfredo Tupone
2021-10-07  6:23 Alfredo Tupone
2021-09-29  7:13 Alfredo Tupone
2021-09-28 20:43 Alfredo Tupone
2021-06-21 22:36 Sam James
2021-05-10 17:09 Alfredo Tupone
2021-03-20  1:15 Sam James
2017-10-04  8:02 Alexis Ballier
2017-08-06  7:40 Alexis Ballier
2017-07-29 10:06 Alexis Ballier
2017-07-25 18:14 Alexis Ballier
2017-06-15  8:49 Alexis Ballier
2017-04-25 17:32 Alexis Ballier
2017-04-03 10:22 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1616149426.e90cd3a78292328d6011bb750cadf46c8bef72b8.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox