From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/merlin/
Date: Sun, 9 Jun 2024 21:22:38 +0000 (UTC) [thread overview]
Message-ID: <1717968155.3235abf774e61ec9199450ab0000fbdab5049d61.xgqt@gentoo> (raw)
commit: 3235abf774e61ec9199450ab0000fbdab5049d61
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 9 21:09:12 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Jun 9 21:22:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3235abf7
dev-ml/merlin: optimize OCmal version detection
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
...merlin-4.13-r1.ebuild => merlin-4.13-r2.ebuild} | 27 ++++++++++------------
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/dev-ml/merlin/merlin-4.13-r1.ebuild b/dev-ml/merlin/merlin-4.13-r2.ebuild
similarity index 84%
rename from dev-ml/merlin/merlin-4.13-r1.ebuild
rename to dev-ml/merlin/merlin-4.13-r2.ebuild
index 92bd8816e400..d2d79ed2fc21 100644
--- a/dev-ml/merlin/merlin-4.13-r1.ebuild
+++ b/dev-ml/merlin/merlin-4.13-r2.ebuild
@@ -4,7 +4,7 @@
EAPI=8
# TODO: vim-plugin, although it's not clear how to make it work here
-inherit elisp-common dune
+inherit elisp-common dune edo
DESCRIPTION="Context sensitive completion for OCaml in Vim and Emacs"
HOMEPAGE="https://github.com/ocaml/merlin/"
@@ -17,23 +17,22 @@ IUSE="emacs +ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="
+ <dev-lang/ocaml-5
+ >=dev-lang/ocaml-4.14.1
dev-lang/ocaml:=[ocamlopt?]
- dev-ml/csexp:=
+ >=dev-ml/dune-2.9:=
>=dev-ml/yojson-2.0.0:=
+ dev-ml/csexp:=
dev-ml/menhir:=
- >=dev-ml/dune-2.9:=
- || (
- dev-lang/ocaml:0/4.14
- dev-lang/ocaml:0/4.14.1
- dev-lang/ocaml:0/4.14.2
- )
emacs? (
>=app-editors/emacs-23.1:*
app-emacs/auto-complete
app-emacs/company-mode
)
"
-DEPEND="${RDEPEND}"
+DEPEND="
+ ${RDEPEND}
+"
# NOTICE: Block dev-ml/seq (which is a back-port of code to ocaml <4.07)
# because it breaks merlin builds.
# https://github.com/ocaml/merlin/issues/1500
@@ -49,12 +48,10 @@ SITEFILE="50${PN}-gentoo.el"
src_unpack() {
default
- if has_version "dev-lang/ocaml:0/4.14" ; then
- mv ${P}-414 "${S}" || die
- elif has_version "dev-lang/ocaml:0/4.14.1" ; then
- mv ${P}-414 "${S}" || die
- elif has_version "dev-lang/ocaml:0/4.14.2" ; then
- mv ${P}-414 "${S}" || die
+ if has_version "=dev-lang/ocaml-4.14*" ; then
+ edo mv "${P}-414" "${S}"
+ elif has_version "dev-lang/ocaml" ; then
+ die "Currently installed version of OCaml is not yet supported"
fi
}
next reply other threads:[~2024-06-09 21:22 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-09 21:22 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-17 21:08 [gentoo-commits] repo/gentoo:master commit in: dev-ml/merlin/ 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-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
2021-03-19 10:24 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=1717968155.3235abf774e61ec9199450ab0000fbdab5049d61.xgqt@gentoo \
--to=xgqt@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